{% import "macros/page.html" as page_macros %}
{% extends "index.html" %}

{% block title %}{{ trans(key="tags", lang=lang) }} - {{ config.title }}{% endblock title%}

{% block content %}
<h1>{{ trans(key="tags", lang=lang) }}</h1>

<ul class="terms">
    {% for term in terms %}
    <li>
        <a href="{{ term.permalink }}">
        #{{ term.name }}
        </a>
        ({{ term.pages | length }})
    </li>
    {% endfor %}
</ul>
{% endblock content %}