webseite/templates/multisection.html

14 lines
464 B
HTML
Raw Normal View History

{% extends "header.html" %}
{% from "macros/multisection.html" import render_section %}
{% block body %}
{% for child in this.children %}
{% if child._model == 'section' %}
<section class="content {{ loop.cycle('-odd', '-even') }} -columns">
<div class="content__box -columns">
{{ render_section(child) }}
</div>
</section>
{% endif %}
{% endfor %}
{% endblock %}