mat.services/templates/taxonomy_list.html

12 lines
432 B
HTML
Raw Normal View History

2022-08-13 04:47:49 +00:00
{% extends "base.html" %}
{% block main_content %}
{{ post_macros::page_header(title=taxonomy.name) }}
<p>go to <a href="{{ get_url(path='@/posts/_index.md') }}">all posts</a>.</p>
<ul>
{% for term in terms %}
{%- set pages = term.pages | length -%}
2022-10-21 06:26:16 +00:00
<li><a class="tag-link" href="{{ term.permalink | safe }}">{{ term.name }} ({{ pages }} page{{ pages | pluralize }})</a></li>
{% endfor -%}
2022-08-13 04:47:49 +00:00
</ul>
{% endblock main_content %}