webseite/templates/homepage.html

22 lines
677 B
HTML

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