summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-11-15 15:25:03 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-11-15 15:25:03 +0100
commit82f890b72aaea099d47bf18c37539f1c4acc2735 (patch)
tree2ec7dc7f5747cb7261d424520a63b5bd5cfe6e18 /templates
parentea2a77a5f3fc706d0509f055016ec58faf8bd2d3 (diff)
downloadkyblo-82f890b72aaea099d47bf18c37539f1c4acc2735.tar.xz
entry: Comma separate tag list
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/entry.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/entry.html b/templates/entry.html
index 619c429..08f8ca0 100644
--- a/templates/entry.html
+++ b/templates/entry.html
@@ -13,9 +13,9 @@
{% if 'tags' in entry %}
<div id="tags">
Tags:
- {% for tag in entry['tags'] %}
- <a href="tag-{{ tag }}.html">{{ tag }}</a>
- {% endfor %}
+ {% set comma = joiner(",") %}
+ {% for tag in entry['tags'] %}{{ comma() }}
+ <a href="tag-{{ tag }}.html">{{ tag }}</a>{% endfor %}
</div>
{% endif %}
</footer>