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

{% block title %}{{ trans(key="category", lang=lang) }}: {{ term.name }} - {{ config.title }}{% endblock title %}

{% block content %}
<h1>{{ trans(key="category", lang=lang) }}: {{ term.name }}</h1>
<div class="article-info">
    <a href="../">{{ trans(key="to_all_categories", lang=lang) }}</a>
</div>

{% for page in term.pages %}
{{ page_macros::page_listing(page=page) }}
{% endfor %}

{% endblock content %}