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 %} {% endif %}
{% for entry in feed.entries -%} {% for entry in feed.entries -%}
=> {{ entry.url }} {{ entry.updated | date(format="%Y-%m-%d") }} {{ entry.title }} => {{ entry.url }} {{ entry.updated | date(format="%Y-%m-%d") }} {{ entry.title }}
{%- if entry.categories -%} {%- if entry.categories -%}
{% for category in entry.categories %}#{{ category }}{% if not loop.last%} {% endif %}{% endfor %} {% for category in entry.categories %} #{{ category }}{% endfor %}
{% endif %} {%- endif %}
{% endfor %} {% endfor %}
───── ─────