1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-website-2018-spike/templates/common/content.html
2018-08-03 21:57:02 +01:00

15 lines
467 B
HTML

{% 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>
<h5 class="my-3">Subtitle</h5>
<p>{% include "common/content-details.html" with page=page %}</p>
<hr />
<div class="content mt-3">
{% include_block page.body %}
</div>