summaryrefslogtreecommitdiff
path: root/templates/blog_index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blog_index.html')
-rw-r--r--templates/blog_index.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/blog_index.html b/templates/blog_index.html
new file mode 100644
index 0000000..bb918fa
--- /dev/null
+++ b/templates/blog_index.html
@@ -0,0 +1,18 @@
1{% extends "page.html" %}
2
3{% set is_blog = True %}
4
5{% block contents %}
6{% for post in posts %}
7<h1 class="title">{{ post.title }}</h1>
8<p><span class="label">Posted:</span> {{ post.pretty_date }}</span></p>
9{{ post.contents }}
10{% if not loop.last %}
11<hr />
12{% endif %}
13{% endfor %}
14{% endblock %}
15
16{% block update_date %}
17 <p class="updated"><span class="label">Page last updated:</span> {{ posts[0].pretty_date }}</p>
18{% endblock %}