Moved blog templates to default paths
This commit is contained in:
parent
40665d78d1
commit
9c2ec8241e
55 changed files with 200 additions and 199 deletions
15
templates/blog-list.html
Normal file
15
templates/blog-list.html
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue