webseite/templates/homepage.html
2021-02-21 17:02:36 +01:00

22 lines
641 B
HTML

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