Initial commit

This commit is contained in:
Felipe M 2016-12-03 22:10:25 +01:00
commit edb5816892
30 changed files with 534 additions and 0 deletions

View file

@ -0,0 +1 @@
{% extends "_base.html" %}

11
templates/blog/list.html Normal file
View file

@ -0,0 +1,11 @@
{% 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 %}

8
templates/blog/post.html Normal file
View file

@ -0,0 +1,8 @@
{% extends "blog/_base.html" %}
{% from "macros/blog.html" import render_blog_post %}
{% block main_content %}
{{ render_blog_post(this) }}
{% endblock %}
{% block body_class %}blog post{% endblock %}