webseite/templates/homepage.html

22 lines
677 B
HTML
Raw Normal View History

2021-02-16 21:32:56 +01:00
{% extends "header_with_logo.html" %}
{% block body %}
<div class="content__box">
<div class="content__inner_box">
<h1>{{ this.title }}</h1>
</div>
</div>
2021-02-14 23:48:56 +01:00
{% for blk in this.section.blocks %}
<section class="content {{ loop.cycle('-odd', '-even') }} -columns">
2021-02-14 23:48:56 +01:00
{% if blk.title %}
<div class="content__box">
<div class="content__inner_box">
2021-02-14 23:48:56 +01:00
<h2>{{ blk.title }}</h2><hr>
</div>
</div>
{% endif %}
2021-02-14 23:48:56 +01:00
{{ blk }}
</section>
{% endfor %}
{% endblock %}