summaryrefslogtreecommitdiff
path: root/templates/blog.html
blob: cd3c1045f9d6331bb42efdcc38f54cac6d0ad398 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 %}