{% load static %}
{% for r in home_entries %}
{% if r.has_thumbnail or r.screenshot_count %} {% if r.has_thumbnail %} {% else %} {% endif %} {% elif r.favicon and not r.favicon.missing %} icon {% else %} icon {% endif %}
{% if r.has_thumbnail or r.screenshot_count %} {% if r.favicon and not r.favicon.missing %} icon {% endif %} {% endif %}

{% if r.title %}{{ r.title }}{% else %}{{ r.url }}{% endif %}

{% endfor %}