mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-22 13:12:19 +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 %}
|
{% 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 %}
|
||||||
─────
|
─────
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue