summaryrefslogtreecommitdiffstats
path: root/templates/blog.html
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-07-18 23:46:06 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-07-18 23:55:42 +0100
commitc34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23 (patch)
treea50e1f923f5101846e440fba4b076b14d8ac6b4b /templates/blog.html
downloadthe-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.tar.gz
the-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.tar.xz
the-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.zip
init commit
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 %}