From 236526850439e135b822bfd3a8782a2c52ac64a1 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Thu, 21 Mar 2024 22:02:27 -0500 Subject: [PATCH] fix categories display on index --- templates/index.tera | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/index.tera b/templates/index.tera index 75a5b16..6a677ce 100644 --- a/templates/index.tera +++ b/templates/index.tera @@ -7,10 +7,9 @@ {% endif %} {% for entry in feed.entries -%} => {{ entry.url }} {{ entry.updated | date(format="%Y-%m-%d") }} {{ entry.title }} - {%- if entry.categories -%} -{% for category in entry.categories %}#{{ category }}{% if not loop.last%} {% endif %}{% endfor %} -{% endif %} +{% for category in entry.categories %} #{{ category }}{% endfor %} +{%- endif %} {% endfor %} ─────