1
0
Fork 0
Browse Source

Sort tools on toolbox index page

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
main
André Jaenisch 2 months ago
parent
commit
a450605ed7
Signed by: ryuno-ki
GPG Key ID: 5A668E771F1ED854
  1. 2
      layouts/toolbox-index-page.njk

2
layouts/toolbox-index-page.njk

@ -9,7 +9,7 @@
{%- set toolbox = collections.tool -%}
{%- if toolbox | length > 0 -%}
<ol class="toolbox">
{%- for tool in toolbox -%}
{%- for tool in toolbox | sort -%}
{%- set tags = tool.data.tags | excludeItem('tool') | sort -%}
<li class="tool" data-tags="{{ tags }}">
<p>

Loading…
Cancel
Save