webseite/templates/homepage.html

30 lines
928 B
HTML

{% extends "header_with_logo.html" %}
{%- block title -%}{{ this.title }}{%- endblock -%}
{%- block meta_description -%}
{%- if this.meta_description is defined and this.meta_description != "" -%}
{{ this.meta_description }}
{%- else -%}
Werkkooperative der Technikfreundinnen eG
{%- endif -%}
{%- endblock -%}
{% 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 %}