summaryrefslogtreecommitdiffstats
path: root/templates/post.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/post.html
downloadthe-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.tar.gz
the-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.tar.xz
the-tk.com-c34ae6fed8503c6f8b27b4bd55cf26bb3f47ad23.zip
init commit
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..6cb47c3
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,16 @@
+{% extends "default.html" %}
+{% block content %}
+<article>
+ <header>
+ <h1>{{ page.title }}</h1>
+ </header>
+ {{ page.content }}
+ <footer>{% if page.tags %}
+ <ul class="taglist">
+ <li>Tags:</li>{% for tag in page.tags %}
+ <li><a href="{{ '/tag/' + tag + '.html' }}">{{ tag }}</a></li>{% endfor %}
+ </ul>{% endif %}
+ <time>{{ page.date|datefmt }}</time>
+ </footer>
+</article>
+{% endblock %}