{% 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 %}
