{% from 'macros/helpers.html' import sprite %}
{% for item in socialLinks %} {{ sprite(item.id) }} {% endfor %} ...or svg sprites!