veilid-dot-com/themes/veilid/layouts/_default/vocabulary.html.twig
2023-08-15 15:25:21 -04:00

12 lines
332 B
Twig

{% extends '_default/page.html.twig' %}
{%- block content ~%}
{{- parent() ~}}
<ul>
{%- for term in page.terms ~%}
<li>
<h2><a href="{{ url(page.path ~ '/' ~ term.id) }}">{{ term.name }}</a> ({{ term|length }})</h2>
</li>
{%- endfor ~%}
</ul>
{%- endblock ~%}