{% extends "wagtail_design_system/base.html" %} {% load static design_system_tags wagtailcore_tags wagtailimages_tags i18n %} {% if page.search_description %} {% block description %} {% endblock description %} {% endif %} {% block social_media %} {% if page.get_translations.live %} {% for translation in page.get_translations.live %} {% endfor %} {% endif %} {% if page.header_image %} {% image page.header_image fill-1200x627 as header_image %} {% else %} {% endif %} {% endblock social_media %} {% block content %} {% include "sites_faciles/heading.html" %} {% include "sites_faciles/messages.html" %}
{% if category %} {% design_system_breadcrumb breadcrumb %}

{% blocktranslate %}Posts in category {{ category }}{% endblocktranslate %}

{% if category_description %}

{{ category_description }}

{% endif %} {% elif tag %} {% design_system_breadcrumb breadcrumb %}

{% blocktranslate %}Posts tagged with {{ tag }}{% endblocktranslate %}

{% elif author %} {% design_system_breadcrumb breadcrumb %}

{% blocktranslate %}Posts written by{% endblocktranslate %} {{ author.first_name }} {{ author.last_name }}

{% elif year %}

{% blocktranslate %}Posts published in {{ year }}{% endblocktranslate %}

{% else %} {% include "sites_faciles/breadcrumbs.html" %}

{{ page.title }}

{% if page.description %}

{{ page.description }}

{% endif %} {% endif %}
{% for post in posts %}
{% empty %}

Aucun article trouvé.

{% endfor %}
{% if posts.paginator.num_pages > 1 %}
{% design_system_pagination posts %}
{% endif %} {% endblock content %}