{% block meta_title %}{% endblock meta_title %}
{# open graph metadata #}
{% firstof page_title page.title as meta_title %}
{% firstof page_description page.description as meta_description %}
{# twitter medatada #}
{# NOTE: Add default social media preview image here. #}
{% comment %}
{% endcomment %}
{% block extrameta %}{% endblock extrameta %}
{% if "SHOW_WARNING_BANNER" in FEATURE_FLAGS %}
{% endif %}
{% if LANGUAGE_CODE == "ar" %} {# only preload multilingual fonts when needed #}
{% elif LANGUAGE_CODE == "he" %}
{% endif %}
{% if page_includes_transcriptions %} {# only preload transcription font when needed #}
{% endif %}
{# include current phosphor icons as css; check https://unpkg.com/phosphor-icons for latest version #}
{% render_bundle_csp "main" "css" %}
{% render_bundle_csp "iiif" "css" %}
{# Preload largest contentful paint image (mobile header and footer svgs, "no image" placeholder) #}
{% block extrastyle %}{% endblock extrastyle %}
{% render_bundle_csp "main" "js" attrs='defer' %}
{% render_bundle_csp "iiif" "js" attrs='defer' %}
{# analytics #}
{% if not request.is_preview and GTAGS_ANALYTICS_ID %}
{% include 'snippets/analytics.html' %}
{% endif %}
{% block extrascript %}{% endblock extrascript %}
{# use a permanent turbo container to prevent redefining custom elements #}
{% wagtailuserbar 'bottom-right' %}
{% if "SHOW_WARNING_BANNER" in FEATURE_FLAGS %}
{% include 'snippets/test_banner.html' %}
{% endif %}
{% block body %}
{% translate "Skip to main content" %}
{% include "nav.html" %}
{% block main %}{% endblock main %}
{% endblock body %}