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' %}
|
|
|
|
<section class="content {{ loop.cycle('-odd', '-even') }} -columns">
|
|
|
|
{% 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 %}
|