{% extends "index.html" %}

{% block main_content %}

{{ macros_page_header::page_header(title="All tags")}}

<div class="tag-cloud">
    <ul class="tags">
        {%- for term in terms -%}
            <li class="tags-item" id "{{ term.name }}"><a href="{{ term.permalink | safe }}">
                {{ term.name }}</a>
                – {{ term.pages | length }} post{{ term.pages | length | pluralize }}
            </li>
        {%- endfor -%}
    </ul>
</div>

{% endblock main_content %}
