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

18 lines
517 B
HTML
Raw Normal View History

2018-07-27 20:43:28 +01:00
{% load wagtailcore_tags wagtailimages_tags %}
2018-07-26 08:55:53 +01:00
2018-07-27 20:43:28 +01:00
{% if page.image %}
{% image page.image width-1000 as photo %}
<div class="mb-3 image header-image" data-image='{{ photo.url }}'></div>
{% endif %}
2018-08-03 21:57:02 +01:00
{% include "common/breadcrumbs/index.html" %}
2018-07-26 08:55:53 +01:00
<h1 class="display-5">{{ page.title }}</h1>
2018-08-03 22:23:16 +01:00
{% if page.subtitle %}
<h5 class="my-3">{{ page.subtitle }}</h5>
{% endif %}
<p>{% include "common/content-details.html" with page=page %}</p>
2018-07-26 08:55:53 +01:00
<hr />
<div class="content mt-3">
{% include_block page.body %}
</div>