{% for item in particle.items %}
{% set title = (item.title is not empty) ? item.title|e : item.text|e %}
{% set titleAttrib = (title is not empty) ? ' title="' ~ title ~ '" aria-label="' ~ title ~ '"' : '' %}
{% if particle.display in ['both', 'icons_only'] %}{% endif %}
{% if particle.display in ['both', 'text_only'] %}{{ item.text|e }}{% endif %}
{% endfor %}
{% endblock %}