mirror of
https://gitlab.com/free_zed/free_zed.gitlab.io.git
synced 2024-06-01 22:02:28 +00:00
Freezed
9b41a7b681
Add a template with a config var to shorten taglist in article lists Edit article_info template for better rendering of taglist Edit article to re-order tags
12 lines
313 B
HTML
12 lines
313 B
HTML
{% if article.tags %}
|
|
<kbd>
|
|
{% for tag in article.tags %}
|
|
{% if loop.index < MAX_NB_TAG_IN_LIST %}
|
|
<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag | escape }}</a>
|
|
{% elif loop.index == MAX_NB_TAG_IN_LIST %}
|
|
et plus!
|
|
{% endif %}
|
|
{% endfor %}
|
|
</kbd>
|
|
{% endif %}
|