mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-22 05:12:17 +00:00
fix categories display on index
This commit is contained in:
parent
a70c5b60d1
commit
2365268504
1 changed files with 2 additions and 3 deletions
|
@ -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 %}
|
||||
─────
|
||||
|
||||
|
|
Loading…
Reference in a new issue