Moved blog templates to default paths
This commit is contained in:
parent
40665d78d1
commit
9c2ec8241e
55 changed files with 200 additions and 199 deletions
|
@ -1,15 +0,0 @@
|
|||
{% 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 %}
|
|
@ -1,18 +0,0 @@
|
|||
{% extends "blog/_base.html" %}
|
||||
{% from "macros/blog.html" import render_blog_post, render_gallery %}
|
||||
|
||||
{% block body_class %}blog post{% endblock %}
|
||||
|
||||
{% block page_title %}{{ this.title }} | {{ super() }}{% endblock %}
|
||||
|
||||
{% block main_content %}
|
||||
{{ render_blog_post(this) }}
|
||||
<div class="center block-info">
|
||||
If you want to approach me directly about this post use the most appropriate channel
|
||||
from <a href="{{ '/about'|url }}">the about page</a>.
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block endbody %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue