fix categories display on index

This commit is contained in:
John Bowdre 2024-03-21 22:02:27 -05:00
parent a70c5b60d1
commit 2365268504

View file

@ -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 %}
─────