forked from ag_kommunikation/webseite
28 lines
970 B
HTML
28 lines
970 B
HTML
{% extends "header.html" %}
|
|
{% 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">
|
|
<div class="content__inner_box">
|
|
{{ render_section(child) }}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endblock %}
|