{% if result.page > 1 %}{% endif %} {% if result.page < result.pages %}{% endif %} {% set consentOpen = not editing|default(false) and consentGate.needsBanner(app.request) %} {% if areas.header|default(null) %}
{% for block in areas.header.blocks %}{% include 'blocks/block.html.twig' with {block: block, postLists: {}, forms: {}, breadcrumbs: [], navigation: navigation|default({}), sections: sections|default({}), richText: true, richHeadings: areas.header.schemaVersion|default(1) >= 17, eagerImage: null} only %}{% endfor %}
{% endif %}
{% if term %}

{{ term.kind == 'category' ? 'Kategorie' : 'Schlagwort' }}

{% endif %}

{{ heading }}

{{ result.total }} {{ result.total == 1 ? 'Beitrag' : 'Beiträge' }}{% if result.pages > 1 %} · Seite {{ result.page }} von {{ result.pages }}{% endif %}

{% include 'blocks/post-list.html.twig' with {posts: result.posts} only %} {% if result.pages > 1 %} {% endif %}
{% if areas.footer|default(null) %} {% endif %} {# Privacy statement, imprint and the way back to the consent decision. All three have to be reachable from every page, so they are part of the template and not of the footer area, which someone could delete. One labelled landmark, so they are not loose text either. #} {% set legal = consentGate.legalLinks() %} {% set revocable = not editing|default(false) and consentGate.askedGroups is not empty and not consentGate.needsBanner(app.request) %} {% if legal is not empty or revocable %} {% endif %} {% if not editing|default(false) and consentGate.needsBanner(app.request) %} {% include 'consent-banner.html.twig' with {consent: consentGate.state(app.request), back: app.request.pathInfo} only %} {% endif %}