2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 21:16:45 +00:00
This commit is contained in:
Matthias Mair 2022-02-07 01:00:04 +01:00
parent 06e65172ea
commit d66065ce27
3 changed files with 8 additions and 45 deletions

View File

@ -45,10 +45,10 @@ defaults:
plugins: plugins:
- jekyll-seo-tag - jekyll-seo-tag
- jekyll-postcss-v2 - jekyll-postcss-v2
- 'jekyll-sitemap' - jekyll-sitemap
- 'jekyll-feed' - jekyll-feed
- 'jekyll-mentions' - jekyll-mentions
- 'jekyll_custom_permalink' - jekyll_custom_permalink
exclude: [ exclude: [
package.json, package.json,

View File

@ -2,43 +2,8 @@
layout: default layout: default
title: Plugins title: Plugins
--- ---
<div>
{% for post in site.posts limit:1 %}
<div class="p-4 mb-4 text-white rounded bg-grad-primary">
<div class="px-0">
<h1 class="display-4 fst-italic">{{post.title}}</h1>
<p class="lead my-3">{{post.excerpt}}</p>
<p class="lead mb-0"><a href="{{ post.url | relative_url }}" class="text-white fw-bold">Continue reading...</a></p>
</div>
</div>
{% endfor %}
<div class="row g-5">
<div class="col-md-8">
{% for plugin in site.plugins %} {% for plugin in site.plugins %}
{% include plugin_card.html plugin=plugin %} {% include plugin_card.html plugin=plugin %}
{% endfor %} {% endfor %}
</div> </div>
<div class="col-md-4">
<div class="position-sticky" style="top: 2rem;">
<div class="p-4 mb-3 bg-light rounded position-relative">
<h4 class="fst-italic">About</h4>
<p class="mb-0">This repo is a sample plugin repo for @InvenTree created by @matmair</p>
<a href="/about.html" class="stretched-link" aria-label="read more about this"></a>
</div>
<div class="p-4">
<h4 class="fst-italic">More InvenTree</h4>
<ol class="list-unstyled">
<li><a href="https://github.com/inventree/InvenTree">GitHub</a></li>
<li><a href="https://inventree.readthedocs.io/en/latest/">Docs</a></li>
<li><a href="https://github.com/inventree/inventree-python">Python interface</a></li>
<li><a href="https://main.invenhost.com/">Demo instance</a> feel free to register and play around!</li>
</ol>
</div>
</div>
</div>
</div>

View File

@ -1,10 +1,8 @@
module.exports = { module.exports = {
plugins: [ plugins: [
require('postcss-import'), require('postcss-import'),
require("tailwindcss"), require('tailwindcss'),
require("autoprefixer"), require('autoprefixer'),
require('cssnano')({ require('cssnano')(),
preset: 'default',
}),
], ],
} }