From 1e19017366fb95d2298688e7465ff2fd0987d1ce Mon Sep 17 00:00:00 2001 From: Bill Niblock Date: Fri, 12 Jan 2018 17:39:13 -0500 Subject: [PATCH] Display tags nicer --- index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 5e070c0..ba68c99 100644 --- a/index.html +++ b/index.html @@ -3,12 +3,17 @@ tabtitle: Home --- -{% for post in site.posts %} +{% for post in site.posts limit:5 %}

{{ post.title }}

Published: {{ post.pub }}
-
Tagged: {{ post.tags }}
+
+ Tagged: + {% for tag in post.tags %} + {% if forloop.last %} {{tag}}{% else %} {{tag}}, {% endif %} + {% endfor %} +
{{ post.short_desc }}