1
0
Fork 0
Design System for my web presence at jaenis.ch https://jaenis.ch/hobbies/coding/demos/design-system/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
1.3 KiB

{%- extends './base.njk' -%}
{%- block main -%}
<main>
<article class="h-entry"{% if language or page.data.language %} lang="{{ language }}"{% endif %}>
{%- include './partials/h1.njk' -%}
<div class="e-content">
{%- include './partials/reply-to.njk' -%}
{%- set toolbox = collections.tool -%}
{%- if toolbox | length > 0 -%}
<ol class="toolbox">
{%- for tool in toolbox | sort -%}
{%- set tags = tool.data.tags | excludeItem('tool') | sort -%}
<li class="tool" data-tags="{{ tags }}">
<p>
<a href="{{ tool.url | url }}">{{ tool.data.title }}</a>
</p>
{%- if tags -%}
<div>
Tagged with
<ul class="tags">
{%- for tag in tags -%}
<li class="tag">
<a href="/tag/{{ tag }}" rel="tag">
{{ tag }}
</a>
</li>
{%- endfor -%}
</ul>
</div>
{%- endif -%}
</li>
{%- endfor -%}
</ol>
{%- endif -%}
</div>
</article>
</main>
{%- endblock main -%}