{% extends theme_base_filename %} {% load static i18n combo gadjo pwa thumbnail assets %} {% block meta_icons %} {% if favicon %} {% elif pwa_settings.application_icon %} {% endthumbnail %} {% endif %} {% if pwa_settings.application_icon %} {% for icon_size in pwa_settings.APPLICATION_ICON_SIZES %} {% endthumbnail %} {% endfor %} {% else %} {% for icon_size in icon_sizes %} {% endfor %} {% endif %} {% endblock %} {% block extra_top_head %} {{ block.super }} {% skeleton_extra_placeholder extra-top-head %} {% end_skeleton_extra_placeholder %} {% if page.picture %} {% endif %} {% endblock %} {% block extra_scripts %} {% if not no_extra_js %} {% endif %} {% skeleton_extra_placeholder extra-head %} {% end_skeleton_extra_placeholder %} {% endblock %} {% block bodyattrs %} data-api-root="{{ site_base }}/api/" {% if check_badges %}data-check-badges="true"{% endif %} {% if page.picture %}data-picture="{{site_base}}{{page.picture.url}}"{% endif %} {% skeleton_extra_placeholder extra-body-args %} {% end_skeleton_extra_placeholder %} {% endblock %} {% block bodyclasses %}{% if pwa_display %}pwa{% endif %} {% get_asset "header:background" as header_background %}{% if header_background %}has-header-background {% endif %} page-{{ page.slug }} page-template-{{ page.template_name }} {% with pages.0.slug as section %}{% if section %}section-{{section}}{% endif %}{% endwith %} {% skeleton_extra_placeholder extra-body-class %} {% if user.is_authenticated %}authenticated-user{% else %}anonymous-user{% endif %} {% end_skeleton_extra_placeholder %} {% if page.picture %}has-picture{% endif %} {% endblock %} {% block title %} - {% if render_skeleton %}{% skeleton_extra_placeholder title %}{% firstof page_title site_title %}{% end_skeleton_extra_placeholder %}{% else %}{{page.title}}{% endif %}{% endblock %} {% block header-title %} {% get_asset "header:logo" as header_logo %}

{% firstof global_title site_title "Compte Citoyen" %}

{% endblock %} {% block menu %} {% show_menu depth=2 ignore_visibility=True %} {% placeholder "menu_right" %} {% endblock %} {% block before-main-content %} {{ block.super }} {% if pwa_display == "standalone" %} {% pwa_navigation %} {% endif %} {% endblock %} {% block messages %} {{ block.super }} {% placeholder "messages" %} {% endblock %} {% block content %} {% block combo-content %} {% block page-content %}
{% trans "Content" as name %} {% placeholder "content" name=name %}
{% endblock %} {% endblock %} {% endblock %} {% block footer %} {% trans "Footer" as name %} {% placeholder "footer" acquired=True name=name %} {% endblock %} {% block user-info %} {% skeleton_extra_placeholder user-info %} {% if user.is_authenticated %} {% if idp_account_url %}{% endif %} {% block user-info-user-name %}{{user.first_name}} {{user.last_name}}{% endblock %}{% if idp_account_url %}{% endif %} {% block user-info-logout-label %}Déconnexion{% endblock %} {% else %} {% block user-info-login-label %}Connexion{% endblock %} {% if idp_registration_url %}{% endif %} / {% if idp_registration_url %}{% endif %}{% block user-info-registration-label %}Inscription{% endblock %} {% endif %} {% end_skeleton_extra_placeholder %} {% endblock %} {% block body-bottom %} {% skeleton_extra_placeholder service-worker %} {% if page.pk %} {# limit this to concrete pages on combo (ex: not 404) #} {% if pwa_display == "standalone" %} {% endif %} {% endif %} {% end_skeleton_extra_placeholder %} {% endblock %}