{% set results = [] %} {% for item in data['data']['results'] %} {% if item['name_match'] >= 80 or (item['phash_distance'] is not none and item['phash_distance'] <= 8) %} {% do results.append(item) %} {% endif %} {% endfor %} {% if results %} {% for file in results %} {% include 'components/card.html' %}
{% endfor %} {% else %} No results found
{% endif %}