{% extends "index.html" %}

{% block main_content %}

{{ macros_page_header::page_header(title=term.name) }}

{% set max = section.extra.max_posts | default(value=999999) %}
{{ macros_list_posts::list_posts(posts=term.pages, max=max) }}

<ul class="pagination">
    <li class="page-item">
        <a class="all-tags" href="{{ get_url(path="tags", lang=lang) }}/">← {%- if lang != config.default_language %} {{ trans(key="all_tags" | safe, lang=lang) }}{% else %} All tags {%- endif -%}</a>
    </li>
</ul>

{% endblock main_content %}
