{% extends "page.html" %} {%- block styles %} {{ super() }} {%- endblock styles %} {% block content -%} {% for bloc in liste_blocs %}

{{ bloc.titre }}

{# ------------ BLOC TEXTE ------------ #} {% if bloc.categorie == "bloc_texte" %}
{% if bloc.IDbloc in dict_elements %} {% for element in dict_elements[bloc.IDbloc] %} {{ element.texte_html|safe }} {% endfor %} {% endif %}
{% endif %} {# ------------ BLOC ONGLETS ------------ #} {% if bloc.categorie == "bloc_onglets" %}
{% if bloc.IDbloc in dict_elements %} {% endif %}
{% endif %} {# ------------ BLOC BLOG ------------ #} {% if bloc.categorie == "bloc_blog" %}
{% if bloc.IDbloc in dict_elements %} {% set liste_elements = TriElementsPourBlog(dict_elements[bloc.IDbloc]) %} {% for date_debut, element in liste_elements %}

{{ element.titre }}

Posté le {{ DateDTEnFr(element.date_debut) }}

{{ element.texte_html|safe }}

{% endfor %} {% endif %}
{% endif %} {# ------------ BLOC CALENDRIER ------------ #} {% if bloc.categorie == "bloc_calendrier" %}
{% endif %} {# ------------ BLOC TROMBI ------------ #} {% if bloc.categorie == "bloc_trombi" %}
{% if bloc.IDbloc in dict_elements %} {% endif %}
{% endif %}
{% endfor %} {%- endblock content %} {% block scripts %} {{ super() }} {% for bloc in liste_blocs %} {% endfor %} {%- endblock scripts %}