16 lines
370 B
Twig
Raw Normal View History

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