2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00
This commit is contained in:
Matthias Mair 2022-08-09 00:47:58 +02:00
parent 291a9e6433
commit 6ff8c6f9ef
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ collections:
publishers: publishers:
output: true output: true
permalink: "/:title" permalink: "/:title"
plugins: repo:
output: true output: true
custom_permalink_placeholders: ["publisher"] custom_permalink_placeholders: ["publisher"]
#permalink: "/:publisher/:title" #permalink: "/:publisher/:title"
@ -51,7 +51,7 @@ defaults:
layout: "publisher" layout: "publisher"
- scope: - scope:
path: "" path: ""
type: "plugins" type: "repo"
values: values:
layout: "plugin" layout: "plugin"
- scope: - scope:

View File

@ -35,7 +35,7 @@ notitle: true
</ul> </ul>
{% endif %} {% endif %}
{% assign filtered_plugins = site.plugins | where: 'publisher', page.short_name %} {% assign filtered_plugins = site.repo | where: 'publisher', page.short_name %}
{% if filtered_plugins and filtered_plugins.size != 0 %} {% if filtered_plugins and filtered_plugins.size != 0 %}
<h3>Plugins</h3> <h3>Plugins</h3>
<ul class="list-unstyled"> <ul class="list-unstyled">

View File

@ -8,7 +8,7 @@ permalink: /plugins
<div class="pt-3 pb-1 section-container"> <div class="pt-3 pb-1 section-container">
<h1 class="header-text title-font mb-4 cm-gray-1">InvenTree Plugin Repository</h1> <h1 class="header-text title-font mb-4 cm-gray-1">InvenTree Plugin Repository</h1>
{% for plugin in site.plugins %} {% for plugin in site.repo %}
{% include plugin_card.html plugin=plugin %} {% include plugin_card.html plugin=plugin %}
{% endfor %} {% endfor %}
</div> </div>