webseite/templates/multisection.html

12 lines
385 B
HTML
Raw Normal View History

{% 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">
{{ render_section(child) }}
</section>
{% endif %}
{% endfor %}
{% endblock %}