From 82f890b72aaea099d47bf18c37539f1c4acc2735 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 15 Nov 2016 15:25:03 +0100 Subject: entry: Comma separate tag list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- templates/entry.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/entry.html') 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 %}
Tags: - {% for tag in entry['tags'] %} - {{ tag }} - {% endfor %} + {% set comma = joiner(",") %} + {% for tag in entry['tags'] %}{{ comma() }} + {{ tag }}{% endfor %}
{% endif %} -- cgit v1.2.3-70-g09d2