summaryrefslogtreecommitdiff
path: root/templates/blog_index.html
blob: bb918fae81f50d2dca4fc4eba7648348231ea592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "page.html" %}

{% set is_blog = True %}

{% block contents %}
{% for post in posts %}
<h1 class="title">{{ post.title }}</h1>
<p><span class="label">Posted:</span> {{ post.pretty_date }}</span></p>
{{ post.contents }}
{% if not loop.last %}
<hr />
{% endif %}
{% endfor %}
{% endblock %}

{% block update_date %}
    <p class="updated"><span class="label">Page last updated:</span> {{ posts[0].pretty_date }}</p>
{% endblock %}