2021-03-31 02:08:49 +02:00
|
|
|
{% extends "header_slim.html" %}
|
|
|
|
{% from "macros/podcast.html" import render_blog_post %}
|
|
|
|
{% from "macros/pagination.html" import render_pagination %}
|
|
|
|
|
|
|
|
{%- block title -%}{{ this.title }}{%- endblock -%}
|
|
|
|
{%- block meta_description -%}
|
2021-04-06 18:24:25 +02:00
|
|
|
{%- if this.meta_description is defined and this.meta_description != "" -%}
|
|
|
|
{{ this.meta_description }}
|
|
|
|
{%- else -%}
|
|
|
|
Werkkooperative der Technikfreundinnen eG
|
|
|
|
{%- endif -%}
|
2021-03-31 02:08:49 +02:00
|
|
|
{%- endblock -%}
|
|
|
|
|
|
|
|
{% block body %}
|
2021-04-06 18:24:25 +02:00
|
|
|
{#
|
|
|
|
Main body part for the podcast
|
|
|
|
#}
|
|
|
|
<div class="content__box">
|
|
|
|
<div class="content__inner_box">
|
|
|
|
<h1>{{ this.title }}</h1>
|
|
|
|
{{ this.description }}
|
|
|
|
</div>
|
2021-03-31 02:08:49 +02:00
|
|
|
</div>
|
|
|
|
|
2021-04-06 18:24:25 +02:00
|
|
|
<section class="content -odd -columns">
|
|
|
|
<div class="content__box">
|
|
|
|
<div class="content__inner_box">
|
|
|
|
{{ this.body }}
|
|
|
|
{% if this.enable or this.enable2 -%}
|
|
|
|
{% if this.enable -%}
|
|
|
|
<a class="button special" href="{{ this.link|url }}"> {{ this.spruch }}</a>
|
|
|
|
{%- endif %}
|
|
|
|
{% if this.enable2 -%}
|
|
|
|
<a class="button special" href="{{ this.link2|url }}"> {{ this.spruch2 }}</a>
|
|
|
|
{%- endif %}
|
|
|
|
{% endif -%}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{#- Die Podcast Folgen werden aus dem blog template importiert :P -#}
|
2021-03-31 02:08:49 +02:00
|
|
|
|
|
|
|
|
2021-04-06 18:24:25 +02:00
|
|
|
{% for blog_post in this.pagination.items %}
|
|
|
|
{{ render_blog_post(blog_post, from_index=true, section_class=loop.cycle('-odd', '-even')) }}
|
|
|
|
{% endfor %}
|
|
|
|
<section>
|
|
|
|
{{ render_pagination(this.pagination, true) }}
|
|
|
|
</section>
|
2021-03-31 02:08:49 +02:00
|
|
|
{% endblock %}
|