{% for x in response %} {% if ".wav" in x %} -> {% else %} {{x}} -> {% endif %} {% endfor %}