{% for entry in data %} {% if entry.type == 'icon' %} {% else %} {{ entry.text }} {% endif %} {% endfor %}