{% load i18n static wagtailuserbar wagtailcore_tags wagtailimages_tags navigation_tags util_tags hijack cookieconsent_tags %} {% wagtail_site as current_site %} {# TODO fallbacks if page is not defined e.g. for 404 page #} {% block title_prefix %}{% if current_site.site_name %}{{ current_site.site_name }} | {% endif %}{% endblock %}{% block title %}{% if page.seo_title %}{{ page.seo_title }}{% else %}{{ page.title }}{% endif %}{% endblock %}{% block title_suffix %}{{ TITLE_SUFFIX }}{% endblock %} {% comment %} Generate favicons by https://realfavicongenerator.net using the following path: settings.STATIC_URL + images/favicons. Override favicons by adding them to public/images/favicons. {% endcomment %} {% block extra_css %}{% endblock %} {% if COOKIES_ACCEPTED and MATOMO_URL and MATOMO_SITEID %} {# we are only expecting strings, so make sure we escape the values #} {% endif %} {% include "includes/sprites.html" %} {% wagtailuserbar %} {% include 'includes/messages.html' %}
{% if settings.utils.SystemMessagesSettings.site_logo_default %} {% image settings.utils.SystemMessagesSettings.site_logo_default width-215 as logo_default %} {% if settings.utils.SystemMessagesSettings.site_logo_mobile %} {% image settings.utils.SystemMessagesSettings.site_logo_mobile width-60 as logo_mobile %} {% else %} {% endif %} {% else %} {% endif %}
{% include "navigation/primarynav-apply.html" %}
{% include "navigation/primarynav-apply.html" %} {{ request.user }} {% trans "Log out" %}
{% block content_wrapper %} {% block content %}{% endblock %} {% endblock %}
{% cookie_banner %} {% block extra_js %}{% endblock %}