Skip to content
Snippets Groups Projects
Commit c337df68 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

indent

parent 50132a9c
No related branches found
No related tags found
1 merge request!87Add plugin priorities, use them for kernel-plugins
Pipeline #30909 passed
......@@ -10,22 +10,22 @@ active: "kernel-plugin"
{% for category in site.data.plugins_categories %}
<div class="tileWrapper" size="big">
<div class="tileWrapperTitle">
<span>{{ category.name }}</span>
<span>{{ category.name }}</span>
</div>
{% for distrib in site.data.plugins_distrib_mode %}
{% assign priorities = site.fc-plugins | group_by: "priority" | sort: "name" %}
{% for prio in priorities %}
{% assign plugins = prio.items | sort: "title" %}
{% assign priorities = site.fc-plugins | group_by: "priority" | sort: "name" %}
{% for prio in priorities %}
{% assign plugins = prio.items | sort: "title" %}
{% for plugin in plugins %}
{% if plugin.key == category.key and plugin.distrib_mode == distrib.key %}
<a role="link" href="{{ plugin.url }}" class="tile">
<h4 class="tileTitle"><span>{% if plugin.short %}{{ plugin.short }}{% else %}{{ plugin.title }}{% endif %}</span></h4>
<p>{{ plugin.description }}</p>
<p>{{ distrib.name }}</p>
</a>
{% endif %}
{% endfor %}
{% endfor %}
{% if plugin.key == category.key and plugin.distrib_mode == distrib.key %}
<a role="link" href="{{ plugin.url }}" class="tile">
<h4 class="tileTitle"><span>{% if plugin.short %}{{ plugin.short }}{% else %}{{ plugin.title }}{% endif %}</span></h4>
<p>{{ plugin.description }}</p>
<p>{{ distrib.name }}</p>
</a>
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
</div>
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment