2016-06-27 00:14:59 +00:00
|
|
|
|
{% extends "site_base_wagtail.html" %}
|
2016-06-22 00:07:27 +00:00
|
|
|
|
|
2016-06-26 22:01:42 +00:00
|
|
|
|
{% load staticfiles %}
|
2016-06-22 00:07:27 +00:00
|
|
|
|
{% load wagtailcore_tags %}
|
|
|
|
|
{% load wagtailimages_tags %}
|
|
|
|
|
|
|
|
|
|
{% load sitetree %}
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
|
|
{% block body_class %}template-blogpage{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block head_title %}{{ page.title }}{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
{% block content %}
|
2016-06-26 22:01:42 +00:00
|
|
|
|
{% include "cms_pages/content_page_header_panel.html" %}
|
|
|
|
|
|
|
|
|
|
{% if page.child_pages %}
|
|
|
|
|
{% for item in page.child_pages %}
|
|
|
|
|
<div class="panel panel__compact">
|
|
|
|
|
<div class="panel--content">
|
|
|
|
|
<div class="panel--1-3">
|
|
|
|
|
<div class="portrait">
|
|
|
|
|
{% image item.portrait_image width-640 as portrait_image %}
|
|
|
|
|
<div style="background-image: url('{{ portrait_image.url }}');" class="portrait--img"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="panel--2-3">
|
|
|
|
|
<h2>{{ item.title }}</h2>
|
|
|
|
|
<p class="lede"><em>{{ item.date|date:"j F Y" }}</em> – {{ item.intro }}</p>
|
|
|
|
|
<a href="{{ item.url }}" class="btn">Read more</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
<div class="panel panel__compact"></div>
|
|
|
|
|
{% endif %}
|
2016-06-22 00:07:27 +00:00
|
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
{% endblock %}
|