{% extends "sites_faciles/base.html" %} {% load static dsfr_tags wagtailcore_tags wagtailimages_tags wagtailroutablepage_tags wagtail_dsfr_tags i18n %} {% block title %} {{ page.seo_title|default:page.title }} — {{ settings.sites_faciles_content_manager.CmsDsfrConfig.site_title }} {% endblock title %} {% 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_content_manager/blocks/heading.html" %} {% include "sites_faciles_content_manager/blocks/messages.html" %}
{% include "sites_faciles_content_manager/blocks/breadcrumbs.html" %} {% if not page.header_with_title %}

{{ page.title }} {% if extra_title %}: {{ extra_title }}{% endif %} {% include "sites_faciles_content_manager/blocks/page_visibility.html" %}

{% endif %} {% if current_category.description %} {{ current_category.description|richtext }} {% else %} {{ page.body }} {% endif %} {% if page.show_filters %}
{% include "blog/blocks/blog_index_posts_list.html" %}
{% if posts.paginator.num_pages > 1 %}
{% dsfr_pagination posts %}
{% endif %} {% include "blog/blocks/feeds.html" %}
{% else %}
{% include "blog/blocks/blog_index_posts_list.html" %}
{% if posts.paginator.num_pages > 1 %}
{% dsfr_pagination posts %}
{% endif %} {% include "blog/blocks/feeds.html" %} {% endif %}
{% endblock content %}