{% load i18n staticfiles cms_tags sekizai_tags google_tag_manager_tags allink_helpers allink_image_tags allink_meta_tags inline_static_tags %} {% load render_bundle get_files from webpack_loader %}
{% comment %} Removing ugly phone number links on Internet Explorer: https://msdn.microsoft.com/en-us/library/dn265018(v=vs.85).aspx {% endcomment %} {# META / OpenGraph #} {% block meta_tags %} {% render_meta_og %} {% endblock meta_tags %} {# Favicons #} {% block favicons %} {% include 'includes/favicons.html' %} {% endblock favicons %} {# css #} {% block webpack_css %} {% if not debug %} {# critical css #} {% endif %} {% comment %} all other css Experimental, not supported by all browsers. Load it normally for unsupported browsers and to call onload https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content {% endcomment %} {% get_files 'app' 'css' as app_css_chunks %} {% endblock webpack_css %} {% render_block "css" %} {# Load external JavaScript #} {# Optional: Extra Header Block#} {% block extrahead %}{% endblock extrahead %} {{ ALDRYN_SNAKE.render_head }} {# Google Tag Manager (hide when in edit mode #} {% if not request.toolbar.show_toolbar %} {% google_tag_manager %} {% endif %} {% block skip_links %} {# Accessibility: Make sure the anchor IDs are up-to-date #} {% trans "Go to homepage" %} {% trans "Jump to navigation" %} {% trans "Jump to content" %} {% trans "Jump to footer" %} {% endblock skip_links %} {# The Django CMS Toolbar#} {% cms_toolbar %} {# The main content block#} {% block body_content %}{% endblock body_content %} {# Load our JavaScript#} {% block google_map_api_key %} {% endblock google_map_api_key %} {% render_block "js" %} {% block webpack_js %} {% get_files 'app' 'js' as app_js_chunks %} {% endblock webpack_js %} {# Optional: Additional Scripts#} {% render_block "extrafoot" %} {% block extrafoot %}{% endblock extrafoot %} {{ ALDRYN_SNAKE.render_tail }} {# Google Analytics Code#} {% block google_analytics %} {% include "includes/analytics.html" %} {% endblock google_analytics %} {# Required! The .site-overlay can be used in various contexts (such as 'softpage' oder other modals)#} {% block site_overlay %} {% endblock site_overlay %} {# Required! For the fullscreen swiper gallery #} {% block fullscreen_gallery_markup %} {% endblock fullscreen_gallery_markup %}