{% load wagtailcore_tags wagtailimages_tags %}


{% if page.image %}
    {% image page.image width-1000 as photo %}
    <div class="mb-3 image header-image" data-image='{{ photo.url }}'></div>
{% endif %}
{% include "common/breadcrumbs/index.html" %}
<h1 class="display-5">{{ page.title }}</h1>
{% if page.subtitle %}
    <h5 class="my-3">{{ page.subtitle }}</h5>
{% endif %}
<p>{% include "common/content-details.html" with page=page %}</p>
<hr />
<div class="content mt-3">
    {% include_block page.body %}
</div>
