{% load static wagtailcore_tags wagtailimages_tags wagtailmetadata_tags %} {% block head_start %}{% endblock %} {% if request.in_preview_panel %} {% endif %} {% meta_tags %} {% if settings.MAJAK_ENV == "test" %} {% endif %} {% include "shared/favicon_snippet.html" %} {% block styles %}{% endblock styles %} {% if page.root_page.matomo_id %} {% include "shared/matomo_snippet.html" with matomo_id=page.root_page.matomo_id %} {% endif %} {% if page.root_page.custom_css %} {% endif %} {% if page.root_page.fbevents_id %} {% endif %} {% include 'styleguide2/includes/organisms/layout/messages.html' %} {% block content %}{% endblock content %} {% if page.root_page.hide_footer is not True %} {% include 'styleguide2/includes/organisms/layout/footer.html' %} {% endif %} {% include "maps_utils/includes/scripts.html" %} {% include "maps_utils/includes/styles.html" %} {% block scripts %}{% endblock scripts %}