From 5c09a0b2d371bde509f157b89a640ec3e4595f9b Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Champin Date: Sat, 27 Apr 2019 21:52:06 +0200 Subject: [PATCH] added TAGS_IN_INDEX configuration flag --- alchemy/templates/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/alchemy/templates/index.html b/alchemy/templates/index.html index 38c5095..8450186 100644 --- a/alchemy/templates/index.html +++ b/alchemy/templates/index.html @@ -38,6 +38,14 @@ {% endfor %} {% endif %} + {% if TAGS_IN_INDEX and article.tags %} +
  • + + {% for tag in article.tags %} + #{{ tag }}{% if not loop.last %}, {% endif %} + {% endfor %} +
  • + {% endif %}