wtf-webseite/templates/blog.html
Stephan bbd858286b Removed alternating colors for blog posts and podcast episodes.
This may just be temporary till I figured out the right colors.
2021-04-06 19:24:01 +02:00

33 lines
970 B
HTML

{% extends "header_slim.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% 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 %}
<div class="content__box">
<div class="content__inner_box">
<h1>{{ this.title }}</h1>
</div>
</div>
<section class="content -odd -columns">
<div class="content__box">
<div class="content__inner_box">
{{ this.body }}
</div>
</div>
</section>
{% for blog_post in this.pagination.items %}
{{ render_blog_post(blog_post, from_index=true) }}
{% endfor %}
<section>
{{ render_pagination(this.pagination, true) }}
</section>
{% endblock %}