diff --git a/_config.yml b/_config.yml index 897b81c1..8812e9ba 100644 --- a/_config.yml +++ b/_config.yml @@ -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: diff --git a/_layouts/publisher.html b/_layouts/publisher.html index 71f6f372..d0a85e27 100644 --- a/_layouts/publisher.html +++ b/_layouts/publisher.html @@ -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"> diff --git a/_plugins/shopify.md b/_repo/shopify.md similarity index 100% rename from _plugins/shopify.md rename to _repo/shopify.md diff --git a/plugins.html b/plugins.html index dd76b4bb..9a1cfb37 100644 --- a/plugins.html +++ b/plugins.html @@ -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>