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

View file

@ -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 %}

View file

@ -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 %}