mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-04 13:52:42 +00:00
Add categories to article info
This commit is contained in:
parent
daae80b3b6
commit
ce34c6784c
@ -11,6 +11,13 @@ metadata:
|
||||
{% if updated %}
|
||||
• Updated on {{ updated | niceDate }}</p>
|
||||
{% endif %}
|
||||
{% if categories %}
|
||||
<p>Categories:
|
||||
{% for cat in categories %}
|
||||
<a href="/categories/{{ cat | slugify }}">{{ cat }}</a>{% if not loop.last %}, {% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>{{ content | emojiReadTime }}</p>
|
||||
</div>
|
||||
</header>
|
||||
|
Loading…
x
Reference in New Issue
Block a user