summaryrefslogtreecommitdiffstats
path: root/templates/post.html
diff options
context:
space:
mode:
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 %}