{% load i18n cms_tags menu_tags rfc_5646_locale static sekizai_tags full_static_tags %} {% spaceless %} {% block head_title %}{{ SITE.name }}{% endblock head_title %} {% block meta %} {% block meta_index_rules %} {% endblock meta_index_rules %} {% block meta_favicons %} {% endblock meta_favicons %} {% block meta_hreflang %} {% language_chooser "richie/hreflang.html" %} {% endblock meta_hreflang %} {% block meta_html %} {% page_attribute "meta_description" as meta_description %} {% if meta_description and meta_description != "None" %} {% else %} {% block meta_html_default %}{% endblock meta_html_default %} {% endif %} {% endblock meta_html %} {% block meta_rdfa %} {% block meta_rdfa_context %} {% endblock meta_rdfa_context %} {% endblock meta_rdfa %} {% endblock meta %} {% endspaceless %} {% if not WEB_ANALYTICS_LOCATION or WEB_ANALYTICS_LOCATION == "head" %} {% include "richie/web_analytics.html" %} {% endif %} {% render_block "css" %} {% block css_links %} {% endblock css_links %} {% include "richie/icons.html" %} {% cms_toolbar %} {# Wrap all body content in an ID'd element to easily remove it from view (using aria-hidden) #} {# when a modal is open. This is important for accessibility. #} {% render_block "js" %} {% if request.toolbar and request.toolbar.edit_mode_active %} {# When edit mode is active, we have to refresh js scripts after saving modifications #} {# https://docs.django-cms.org/en/latest/topics/frontend-integration.html #} {% endif %} {% if WEB_ANALYTICS_LOCATION == "footer" %} {% include "richie/web_analytics.html" %} {% endif %} {% block body_js %}{% endblock body_js %}