Add categories to article info
This commit is contained in:
parent
56db538049
commit
80d0f8237b
@ -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