webseite/templates/projekte.html

43 lines
1.3 KiB
HTML
Raw Normal View History

2019-02-12 17:45:44 +01:00
{% extends "layout.html" %}
{% from "macros/projekt.html" import render_blog_post %}
2019-02-24 18:11:12 +01:00
{% block title
%}{{ this.title }}{%
endblock %}
2019-02-12 17:45:44 +01:00
{% block body %}
2019-03-07 23:00:36 +01:00
<section id="four" class="style1 special fade-up">
2019-02-12 17:45:44 +01:00
<div class="container">
<header class="major">
<h2>{{ this.title }}</h2>
2019-02-12 23:52:50 +01:00
<p>{{ this.description }}</p>
2019-02-12 17:45:44 +01:00
</header>
2019-02-24 12:56:01 +01:00
<section id="content">
{{ this.begruessung }}
</section>
2019-02-24 18:11:12 +01:00
<header class="major">
<h2>{{ this.title2 }}</h2>
{{ this.description2 }}
</header>
<div class="box alt">
<div class="row uniform">{%
2019-02-24 19:53:37 +01:00
for child in this.pagination.items|sort(attribute='number', reverse = True) %}
2019-02-24 18:11:12 +01:00
{{ render_blog_post(child, from_index=true) }}
2019-02-24 12:56:01 +01:00
{% endfor %}
2019-02-12 17:45:44 +01:00
</div>
2019-02-24 18:11:12 +01:00
<footer class="major">
2019-02-12 17:45:44 +01:00
<ul class="actions special">
<li><a href="{{ '/feed_projekte.xml'|url }}" class="button">{{ this.abo }}</a></li>
2019-02-24 19:53:37 +01:00
{{ this.trailer }}
2019-02-12 17:45:44 +01:00
</ul>
</footer>
</div>
</div>
</section>
{% endblock %}
2019-02-12 23:52:50 +01:00
{% block expand_description %}
<meta name="description" content="{%
2019-02-24 18:11:12 +01:00
if this.desc %}{{ this.desc }}{% else %}{%
2019-02-12 23:52:50 +01:00
if bag('translate', this.alt, 'description') %}{{ bag('translate', this.alt, 'description') }}{%
else %}{{ bag('translate', 'de', 'description') }}{% endif %}
{% endif %}" />
{% endblock %}