webseite/templates/blog.html

28 lines
798 B
HTML
Raw Normal View History

{% extends "header_slim.html" %}
2018-02-25 00:06:19 +01:00
{% 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 -%}
C3WOC
{%- endif -%}
{%- endblock -%}
{% block body %}
<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) }}
2019-02-12 17:45:44 +01:00
</section>
2019-02-12 23:52:50 +01:00
{% endblock %}