wtf-webseite/templates/blog.html

28 lines
834 B
HTML
Raw Permalink Normal View History

2021-02-21 17:03:49 +01:00
{% extends "header_slim.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% from "macros/pagination.html" import render_pagination %}
2021-02-24 23:44:49 +01:00
{%- 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 -%}
2021-02-21 17:03:49 +01:00
{% block body %}
2021-03-08 10:43:00 +01:00
<section class="content -odd -columns">
<div class="content__box">
<div class="content__inner_box">
{{ this.body }}
</div>
</div>
</section>
2021-02-21 17:03:49 +01:00
{% for blog_post in this.pagination.items %}
{{ render_blog_post(blog_post, from_index=true) }}
2021-02-21 17:03:49 +01:00
{% endfor %}
2021-03-21 16:53:00 +01:00
<section>
{{ render_pagination(this.pagination, true) }}
</section>
2021-02-21 17:03:49 +01:00
{% endblock %}