{% 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 %}