{% load i18n static 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 %} {% comment %} {% endcomment %} {% include "includes/sprites.html" %} {% 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" %} {% if request.user.is_authenticated %} {{ request.user }} {% trans "Log out" %} {% endif %}
{% if latest_notifications %}
{% include "activity/include/notifications_dropdown.html" %}
{% endif %} {% if request.user.is_authenticated %} {{ request.user }} {% trans "Log out" %} {% else %} {% include "utils/includes/login_button.html" %} {% if ENABLE_REGISTRATION_WITHOUT_APPLICATION %} {% include "utils/includes/register_button.html" %} {% endif %} {% endif %}
{% block content_wrapper %} {% block content %}{% endblock %} {% endblock %}
{% cookie_banner %} {% block extra_js %}{% endblock %} {% block sentry_sdk %} {% if SENTRY_PUBLIC_KEY %} {% endif %} {% endblock sentry_sdk %}