12 lines
294 B
Twig
Raw Normal View History

2019-04-02 19:54:29 +02:00
{% if page.taxonomy.tag %}
2019-05-09 00:26:27 +02:00
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
{% import _self as macro %}
{% for tag in page.taxonomy.tag %}
<span class="tags {{ macro.pageLinkName(tag) }}">
2019-05-01 19:59:32 +02:00
<a class="label">{{ tag }}</a>
2019-04-02 19:54:29 +02:00
{% endfor %}
{% endif %}
2019-05-09 00:26:27 +02:00
</span>