diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-15 15:16:23 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2016-11-15 15:16:23 +0100 |
commit | bda028e1db07d786ec0cf48feeae199679f07d70 (patch) | |
tree | 2f12358e308c41ed5d5f48e281f35c817e914522 /templates/entry.html | |
parent | 5f78f881b64e451c446f5f69b71a1dad0eae9fa3 (diff) | |
download | kyblo-bda028e1db07d786ec0cf48feeae199679f07d70.tar.xz |
Add support for entry tags
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates/entry.html')
-rw-r--r-- | templates/entry.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/entry.html b/templates/entry.html index f44567a..619c429 100644 --- a/templates/entry.html +++ b/templates/entry.html @@ -9,6 +9,16 @@ <div> {{ content }} </div> + <footer> + {% if 'tags' in entry %} + <div id="tags"> + Tags: + {% for tag in entry['tags'] %} + <a href="tag-{{ tag }}.html">{{ tag }}</a> + {% endfor %} + </div> + {% endif %} + </footer> </article> <nav> <div id="post-nav"> |