webseite/templates/podcast.html

55 lines
2.0 KiB
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "header_slim.html" %}
{% from "macros/podcast.html" import render_podcast_episode %}
{% from "macros/pagination.html" import render_pagination %}
{%- 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 %}
{#
Main body part for the podcast
#}
<div class="content__box">
<div class="content__inner_box">
<h1>{{ this.title }}</h1>
<p>{{ this.description }}</p>
</div>
</div>
<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 href="{{ this.link|url }}">
{{ this.spruch }} <img class="content__rss_logo" src="{{ '/images/rss_logo.svg'|asseturl }}" alt="RSS Logo"></a>
{%- endif %}
{% if this.enable2 -%}
, &nbsp;
<a href="{{ this.link2|url }}">
{{ this.spruch2 }} <img class="content__rss_logo" src="{{ '/images/rss_logo.svg'|asseturl }}" alt="RSS Logo">
</a>
{%- endif %}
{% endif -%}
</div>
</div>
</section>
{#- Die Podcast Folgen werden aus dem blog template importiert :P -#}
{% for episode in this.pagination.items %}
{{ render_podcast_episode(episode, from_index=true) }}
{% endfor %}
<section>
{{ render_pagination(this.pagination, true) }}
</section>
{% endblock %}