{% load social_share wagtailimages_tags wagtailcore_tags my my_amp %}

{{ 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 %} {% endfor %}
{% include 'cms/blocks/static/social_share.html' %} {% endif %}