2021-03-17 20:17:38 +01:00
|
|
|
{% extends "header_slim.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 %}
|
|
|
|
<!-- 50/50 Layout - start -->
|
|
|
|
<section class="content">
|
|
|
|
<div class="content__box -heading">
|
|
|
|
<div class="content__inner_box">
|
|
|
|
<h2>{{ this.title }}</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="content__half_box">
|
|
|
|
<div class="content__inner_half_box">
|
|
|
|
<div class="content__teaser">
|
|
|
|
{{ this.teaser }}
|
|
|
|
</div>
|
|
|
|
<div class="content__body">
|
|
|
|
{{ this.body }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% if this.attachments.images %}
|
|
|
|
<div class="content__inner_half_box">
|
|
|
|
{% for image in this.attachments.images %}
|
2022-10-25 14:18:32 +02:00
|
|
|
{% if image.format != 'svg' %}
|
2021-03-17 20:17:38 +01:00
|
|
|
<img class="content__half_box_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="{{ image.description }}" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x">
|
2022-10-25 14:18:32 +02:00
|
|
|
{% else %}
|
|
|
|
<img class="content__half_box_image" src="{{ image|url }}" width="100%" alt="{{ image.description }}">
|
|
|
|
{% endif %}
|
2021-03-17 20:17:38 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<!-- 50/50 Layout - end -->
|
|
|
|
|
|
|
|
<!-- Icon boxes - start -->
|
|
|
|
<section class="content">
|
|
|
|
<div class="content__box -card_box">
|
|
|
|
<div class="content__inner_box -card_box">
|
2023-05-19 16:45:13 +02:00
|
|
|
{% for card in this.section.blocks %}
|
|
|
|
{{ card }}
|
2021-03-17 20:17:38 +01:00
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{% endblock %}
|