ungleich-staticcms/templates/blog.html
Nico Schottelius 57d66eb0c1 init staticcms
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2019-09-24 20:30:38 +09:00

11 lines
376 B
HTML

{% 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 %}
{% for child in this.pagination.items %}
{{ render_blog_post(child, from_index=true) }}
{% endfor %}
{{ render_pagination(this.pagination) }}
{% endblock %}