Tags
This component appears anywhere tags are needed.
.tags--centered
Tags that are center aligned.
{{ attach_library('h4h_theme/tags') }}
<div class="tags {{ modifier_class }}">
{% for item in items %}
<div class="tags__item">
{% if item.url %}
<a class="tags__item-padded" href="{{ item.url }}">
{{ item.title|raw }}
</a>
{% else %}
<span class="tags__item-padded">
{{ item.title|raw }}
</span>
{% endif %}
</div>
{% endfor %}
</div>