2017-08-19 01:32:26 +02:00
|
|
|
{% extends "cofcms/base.html" %}
|
|
|
|
{% load wagtailimages_tags cofcms_tags %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<section class="intro">
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
<div>{{ page.introduction|safe }}</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="pagecontent">
|
|
|
|
{% for block in page.body %}
|
|
|
|
{% if block.block_type == "heading" %}
|
|
|
|
<h2>{{ block.value }}</h2>
|
|
|
|
{% else %}{% if block.block_type == "paragraph" %}
|
|
|
|
<article class="paragraph">
|
|
|
|
{{ block.value|safe }}
|
|
|
|
</article>
|
|
|
|
{% else %}{% if block.block_type == "image" %}
|
2018-01-28 19:09:56 +01:00
|
|
|
<div class="image">
|
|
|
|
{% image block.value width-800 %}
|
|
|
|
</div>
|
2017-08-19 01:32:26 +02:00
|
|
|
{% endif %}{% endif %}{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|