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-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:
output: true
permalink: "/:title"
plugins:
repo:
output: true
custom_permalink_placeholders: ["publisher"]
#permalink: "/:publisher/:title"
@ -51,7 +51,7 @@ defaults:
layout: "publisher"
- scope:
path: ""
type: "plugins"
type: "repo"
values:
layout: "plugin"
- scope:

View File

@ -35,7 +35,7 @@ notitle: true
</ul>
{% 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 %}
<h3>Plugins</h3>
<ul class="list-unstyled">

View File

@ -8,7 +8,7 @@ permalink: /plugins
<div class="pt-3 pb-1 section-container">
<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 %}
{% endfor %}
</div>