{% load static wagtailuserbar wagtailcore_tags wagtailimages_tags navigation_tags util_tags wagtailaccessibility_tags %} {% if request.in_preview_panel %} {% endif %} {# TODO fallbacks if page is not defined e.g. for 404 page #} {% wagtail_site as current_site %} {% block title_prefix %}{% if current_site and page.pk == current_site.root_page.pk and current_site.site_name %}{{ current_site.site_name }} | {% endif %}{% endblock %}{% block title %}{% firstof page.seo_title page.title %}{% endblock %}{% block title_suffix %}{% if current_site and page.pk != current_site.root_page.pk and current_site.site_name %} | {{ current_site.site_name }}{% endif %}{% endblock %} {% comment %} Set "noindex" if the site is not being requested on a configured domain to prevent search engines crawling admin domains. This ignores ports for simplicity. {% endcomment %} {% if SEO_NOINDEX or request.get_host != current_site.hostname or page.slug == 'incident' %} {% endif %} {% block meta_tags %}{% endblock %} {% block extra_css %}{% endblock %} {% block body_top %}{% endblock %} {% include "patterns/atoms/sprites/sprites.html" %} {% wagtailuserbar %} {% block header %}{% endblock %}
{% block content %} {{ pattern_library_rendered_pattern }} {% endblock %}
{% block footer %}{% endblock %} {% tota11y %} {% block extra_js %}{% endblock %}