forked from ag_kommunikation/webseite
51 lines
2.2 KiB
HTML
51 lines
2.2 KiB
HTML
|
{% 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 %}
|
|||
|
<section class="content -odd">
|
|||
|
{% set blog_posts = site.get('/blog').children.order_by('-pub_date').limit(3) %}
|
|||
|
<div class="content__aggregate_box">
|
|||
|
{% for post in blog_posts %}
|
|||
|
<div class="content__inner_aggregate_box">
|
|||
|
<h3 class="content__aggregate_heading">
|
|||
|
<a class="content__blog_link -odd" href="{{ post.path|url }}">
|
|||
|
<img class="content__rss_logo_heading" src="{{ '/images/rss_logo.svg'|asseturl }}" alt="RSS Logo"> {{ post.title }}
|
|||
|
</a>
|
|||
|
</h3>
|
|||
|
<hr class="-odd">
|
|||
|
<p class="content__meat">
|
|||
|
<i>geschreiben von {{ post.author }} am {{ post.pub_date }}</i>
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
{{ post.meta_description }}
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
{% endfor %}
|
|||
|
|
|||
|
{% set episodes = site.get('/podcast').children.order_by('-pub_date').limit(3) %}
|
|||
|
{% for episode in episodes %}
|
|||
|
<div class="content__inner_aggregate_box">
|
|||
|
<h3 class="content__aggregate_heading">
|
|||
|
<a class="content__blog_link -odd" href="{{ episode.path|url }}">
|
|||
|
<img class="content__podcast_logo_heading" src="{{ '/images/podcast_logo.svg'|asseturl }}" alt="Podcast Logo"> {{ episode.title }}
|
|||
|
</a>
|
|||
|
</h3>
|
|||
|
<hr class="-odd">
|
|||
|
<p class="content__meat">
|
|||
|
<i>geschreiben von {{ episode.author }} am {{ episode.pub_date }}</i>
|
|||
|
</p>
|
|||
|
<p>
|
|||
|
{{ episode.podcast_teaser }}
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
{% endfor %}
|
|||
|
</div>
|
|||
|
</section>
|
|||
|
{% endblock %}
|