webseite/templates/homepage.html
2021-02-14 23:48:56 +01:00

22 lines
667 B
HTML

{% extends "header.html" %}
{% block body %}
<div class="content__box">
<div class="content__inner_box">
<h1>{{ this.title }}</h1>
</div>
</div>
{% for blk in this.section.blocks %}
<section class="content {{ loop.cycle('-odd', '-even') }} -columns">
{% if blk.title %}
<div class="content__box">
<div class="content__inner_box">
<h2>{{ blk.title }}</h2><hr>
</div>
</div>
{% endif %}
{{ blk }}
</section>
{% endfor %}
{% endblock %}