{% load social_share wagtailimages_tags wagtailcore_tags my my_amp %}
{% include 'cms/blocks/common/bg.html' with block_num=1 theme=page.theme bg_desktop=page.bg_desktop bg_mobile=page.bg_mobile pos="center" layer=1 rendition_mobile='width-600' rendition_desktop='width-1920' %}

{{ page.h1 }}

{% include 'cms/blocks/common/tags_blog.html' with root_page=page.get_parent tags=page.tags.all links=1 %}
{{ page.intro_page|richtext }}
{% if request.user_agent.is_pc and not amp %}
{% endif %} {% comment %}---------------------------- Summary ----------------------------{% endcomment %} {% if summary %}
{{ settings.cms.WebspaceSettings.summary_text|richtext }}
{% else %}

Erreur Sommaire

Le sommaire ne peut pas être généré

Il y a une/des erreur(s) dans le contenue de la page sur l'architecture des titres h2, h3, h4 , h5.

{% endif %} {% comment %}---------------------------- Content ----------------------------{% endcomment %}
{% for block in page.body %} {% include_block block with block_num=forloop.counter|add:1 %} {% endfor %}
{% if request.user_agent.is_pc and not amp %}
{% endif %} {% comment %}---------------------------- Articles related ----------------------------{% endcomment %} {% if page.related_blogs %}
{{ settings.cms.WebspaceSettings.related_articles_text|richtext }}
{% for blog in page.related_blogs %} {% include 'cms/blocks/common/article.html' with blog=blog.value theme='light-inverse' %} {% endfor %}
{% include 'cms/blocks/static/social_share.html' %} {% endif %}