2021-02-06 15:13:13 +01:00
|
|
|
{% extends "header.html" %}
|
2021-02-04 21:02:33 +01:00
|
|
|
{% from "macros/multisection.html" import render_section %}
|
|
|
|
{% block body %}
|
|
|
|
<div class="content__box">
|
|
|
|
<div class="content__inner_box">
|
|
|
|
<h1>{{ this.title }}</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% for child in this.children %}
|
|
|
|
{% if child._model == 'section' %}
|
2021-02-06 15:47:39 +01:00
|
|
|
<section class="content {{ loop.cycle('-even', '-odd') }} -columns">
|
2021-02-04 21:02:33 +01:00
|
|
|
{% if child.title %}
|
|
|
|
<div class="content__box">
|
|
|
|
<div class="content__inner_box">
|
|
|
|
<h2>{{ child.title }}</h2><hr>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<div class="content__box -columns">
|
2021-02-06 15:11:56 +01:00
|
|
|
<div class="content__inner_box">
|
|
|
|
{{ render_section(child) }}
|
|
|
|
</div>
|
2021-02-04 21:02:33 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|