wtf-webseite/templates/multisection.html

14 lines
464 B
HTML

{% extends "layout.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 %}