{% load coderedcms_tags i18n static wagtailcore_tags wagtailimages_tags wagtailsettings_tags wagtailuserbar %} {% get_settings %} {% get_current_language as LANGUAGE_CODE %} {% wagtail_site as site %} {% block tracking %} {% if settings.coderedcms.AnalyticsSettings.ga_g_tracking_id %} {% endif %} {% if settings.coderedcms.AnalyticsSettings.gtm_id %} {% endif %} {% if settings.coderedcms.AnalyticsSettings.head_scripts %} {{settings.coderedcms.AnalyticsSettings.head_scripts|safe}} {% endif %} {% endblock %} {# Pass in CMS variables to JavaScript #} {# SEO Metadata #} {% include "wagtailseo/meta.html" %} {% block frontend_assets %} {% if settings.coderedcms.LayoutSettings.frontend_theme %} {% else %} {% endif %} {% endblock %} {% block coderedcms_assets %} {% if "DEBUG"|django_settings %} {% else %} {% endif %} {% endblock %} {% block custom_assets %}{% endblock %} {% block favicon %} {% if settings.coderedcms.LayoutSettings.favicon %} {# See https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/app-icon/ #} {% image settings.coderedcms.LayoutSettings.favicon fill-256x256 format-webp as favicon_webp %} {% image settings.coderedcms.LayoutSettings.favicon fill-120x120 format-png as favicon_iphone %} {% image settings.coderedcms.LayoutSettings.favicon fill-180x180 format-png as favicon_iphone_plus %} {% image settings.coderedcms.LayoutSettings.favicon fill-152x152 format-png as favicon_ipad %} {% image settings.coderedcms.LayoutSettings.favicon fill-167x167 format-png as favicon_ipad_pro %} {% endif %} {% endblock %} {% block extra_head %}{% endblock %} {% include "coderedcms/includes/crx_banner.html" %} {% block ada_skip %} Skip navigation {% endblock %} {% wagtailuserbar %} {% block navbar %}{% endblock %}
{% block content %} {% block messages %} {% if messages %}
{% for message in messages %} {% endfor %}
{% endif %} {% endblock %} {% block content_pre_body %}{% endblock %} {% block content_body %} {% for block in page.body %} {% include_block block with settings=settings %} {% endfor %} {% endblock %} {% block content_post_body %}{% endblock %} {% block index_filters %}
{% if page.index_show_subpages and page.index_classifiers.exists %} {% include "coderedcms/includes/classifier_dropdowns.html" with formclass="d-flex" formid="filter" %} {% endif %}
{% endblock %} {% block index_content %} {% if page.index_show_subpages %}
{% for child in index_paginated %}
{% include child.miniview_template with page=child %}
{% endfor %}
{% include "coderedcms/includes/pagination.html" with items=index_paginated %} {% endif %} {% endblock %} {% block related_content %} {% if page.related_show %}

{% trans "Related" %}

{% for rp in related_pages %}
{% include rp.miniview_template with page=rp %}
{% endfor %}
{% endif %} {% endblock %} {% endblock %}
{% block content_walls %} {% for content_wall in content_walls %} {% include_block content_wall with settings=settings %} {% endfor %} {% endblock %}
{% block footer %}{% endblock %} {% block frontend_scripts %} {% endblock %} {% block coderedcms_scripts %} {% endblock %} {% block custom_scripts %}{% endblock %} {% block struct_seo %} {% include "wagtailseo/struct_data.html" %} {% block struct_seo_extra %}{% endblock %} {% endblock %} {% block body_tracking_scripts %} {% if settings.coderedcms.AnalyticsSettings.gtm_id %} {% endif %} {% if settings.coderedcms.AnalyticsSettings.body_scripts %} {{settings.coderedcms.AnalyticsSettings.body_scripts|safe}} {% endif %} {% endblock %}