{% load render_bundle from webpack_loader %} {% load static wagtailuserbar fullurl %} {% comment %} NOTE: This site uses RDFa and schema.org vocabulary. Every page will be declared as schema:Webpage by default; use page_rdf_type to override with a webpage subclass. {% endcomment %} {# html metadata #} {% block page-title %} {% block page-subtitle %}{{ page.meta_title }}{% endblock %} Princeton Prosody Archive {% endblock %} {% if request %} {# fullurl requires request, not available on error pages #} {% endif %} {% include 'snippets/head_meta.html' %} {% block metadata %}{% endblock %} {% if SHOW_TEST_WARNING %} {% endif %} {% render_bundle 'main' 'css' %} {% block css %}{% endblock %} {# add any additional css here #} {% if not request.is_preview and GTAGS_ANALYTICS_ID %} {% include 'snippets/analytics.html' %} {% endif %} {% render_bundle 'main' 'js' %} {% block js %}{% endblock %} {# add any additional javascript here #} {% block head_extras %}{% endblock %} {% include 'snippets/test_banner.html' %} {% block page_nav %} {% include 'snippets/nav.html' %} {% endblock %}
{# moves page content when mobile menu is clicked #} {% block page_header %} {% endblock %}
{% block content %}{% endblock %}
{% block page_footer %} {% include 'snippets/footer.html' %} {% endblock %}
{% block page-js %}{% endblock %} {# enable wagtail quick menu for logged in content editors #} {% wagtailuserbar %}