webseite/templates/blog.html

20 lines
662 B
HTML
Raw Normal View History

2018-02-25 00:06:19 +01:00
{% extends "layout.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% from "macros/pagination.html" import render_pagination %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
<section id="one" class="wrapper alt spotlight style2">
<div class="inner">
<a class="image"><img src="{{ '/images/c3woc/c3woc.svg'|url }}" alt="" /></a>
<div class="content">
<h2 class="major">{{ this.title }}</h2>
{{ this.sub_title }}
</div>
</section>
2018-02-25 00:06:19 +01:00
{% for child in this.pagination.items %}
{{ render_blog_post(child, from_index=true) }}
{% endfor %}
{{ render_pagination(this.pagination) }}
{% endblock %}