Files
blog/templates/taxonomy_list.html
daudix af524137a9 Fix build failing if taxonomy is set to anything other than "tags" (fixes #126)
This does not fix other issues however, notably links still point to
/tags, and it's displayed as tags in the UI.
2025-03-30 07:30:04 +03:00

17 lines
595 B
HTML

{% extends "base.html" %}
{% block content %}
{%- set number_of_tags = terms | length -%}
<h1>{{ macros_translate::translate(key="tags_title", default="Tags", language_strings=language_strings) }}</h1>
<p>
<small>{{ macros_translate::translate(key="tags", number=number_of_tags, default="$NUMBER tags", language_strings=language_strings) }}</small>
</p>
<ul class="tags">
{%- for tag in terms -%}
<li><a href="{{ current_url }}{{ tag.slug }}"><span class="tag">{{ tag.name }}</span><span class="count">{{ tag.pages | length }}</span></a></li>
{%- endfor -%}
</ul>
{% endblock content %}