Moved blog templates to default paths

This commit is contained in:
Felipe M 2020-11-29 21:29:10 +01:00
parent 40665d78d1
commit 9c2ec8241e
Signed by: fmartingr
GPG key ID: 716BC147715E716F
55 changed files with 200 additions and 199 deletions

15
templates/blog-list.html Normal file
View file

@ -0,0 +1,15 @@
{% extends "blog/_base.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% from "macros/pagination.html" import render_pagination %}
{% block main_content %}
{% for child in this.pagination.items %}
{{ render_blog_post(child, from_index=true) }}
{% endfor %}
<div class="center">{{ render_pagination(this.pagination) }}</div>
{% endblock %}
{% block endbody %}
{{ super() }}
{% endblock %}