diff options
Diffstat (limited to 'templates/blog.html')
| -rw-r--r-- | templates/blog.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/blog.html b/templates/blog.html new file mode 100644 index 0000000..cd3c104 --- /dev/null +++ b/templates/blog.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% import "post_macros.html" as post_macros %} +{% import "header_macros.html" as header_macros %} +{% import "pagination_macros.html" as pagination_macros %} + +{% block header %} + {{ header_macros::small_header() }} +{% endblock %} + +{% block content %} + <section class="blog-index single-column"> + <h1>Articles.</h1> + {% for page in paginator.pages %} + {{ post_macros::summary(post=page) }} + {% endfor %} + {{ pagination_macros::index_pages() }} + </section> +{% endblock %} |