{% extends "base.html" %}
{% load wagtailmetadata_tags wagtailcore_tags %}
{% block body_class %}{{ page.body_class }}{% endblock %}
{% block title %}{{ page.html_title_tag }}{% endblock %}
{% block extra_head %}
{% meta_tags %}
{% endblock %}
{% block main_content %}
{% if page.hero_image_url %}
{% for width, image_url in page.hero_image_urls.items reversed %}{% endfor %}
{% endif %}
{% if page.get_view_restrictions.exists %}
Note: This page has a view restriction. Please do not share its content until the page is public or this message is removed.
{% endif %}
{% include "common/breadcrumbs.html" with parents=page.get_parent_pages %}
{{ page.hero_title }}
{% if page.subtitle %}
{{ page.subtitle|richtext }}
{% endif %}
{% include "common/content-details.html" %}
{% block hero_buttons %}
{% if page.show_table_of_contents %}
{% for toc_item in page.table_of_contents %}
{% include "common/toc-item.html" %}
{% endfor %}