summaryrefslogtreecommitdiffstats
path: root/templates/blog.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blog.html')
-rw-r--r--templates/blog.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/blog.html b/templates/blog.html
new file mode 100644
index 0000000..658f69d
--- /dev/null
+++ b/templates/blog.html
@@ -0,0 +1,7 @@
+{% extends "default.html" %}
+{% block content %}
+<h1>Posts</h1>
+<ul class="postlist">{% for post in page.posts %}
+ <li><time>{{ post.date|datefmt }}</time> | <a href="{{ '/' + post.location }}">{{ post.title }}</a>{% endfor %}
+</ul>
+{% endblock %}