2019-05-25 20:06:05 +02:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% from "macros/blog.html" import render_blog_post %}
|
|
|
|
{% from "macros/pagination.html" import render_pagination %}
|
2019-05-25 21:57:41 +02:00
|
|
|
{% block title %}{{ this.title }}{% endblock %}
|
|
|
|
{% block body %}
|
|
|
|
<!-- Main Blog -->
|
|
|
|
<div id="main" class="wrapper style1">
|
|
|
|
<div class="container">
|
|
|
|
<header class="major">
|
|
|
|
<h2>{{ this.title }}</h2>
|
|
|
|
<p>{{ this.description }}</p>
|
|
|
|
</header>
|
|
|
|
<center>
|
|
|
|
<a href="{{ this.link|url }}" class="button primary fit" >{{ this.spruch }}
|
|
|
|
<i class="fas fa-rss iconshift-right-8" ></i>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</center>
|
|
|
|
<section id="content">
|
2019-05-25 20:06:05 +02:00
|
|
|
{% for child in this.pagination.items %}
|
|
|
|
{{ render_blog_post(child, from_index=true) }}
|
|
|
|
{% endfor %}
|
2019-05-25 21:57:41 +02:00
|
|
|
<center>
|
2019-05-25 20:06:05 +02:00
|
|
|
{{ render_pagination(this.pagination) }}
|
2019-05-25 21:57:41 +02:00
|
|
|
<center>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
{% block expand_description %}
|
|
|
|
<meta name="description" content="{%
|
|
|
|
if this.description %}{{ this.description }}{% else %}{%
|
|
|
|
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
|
|
|
|
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
|
|
|
|
{% endif %}" />
|
2019-05-25 20:06:05 +02:00
|
|
|
{% endblock %}
|
2019-05-25 21:57:41 +02:00
|
|
|
|