diff --git a/app/templates/moduls/card.html.j2 b/app/templates/moduls/card.html.j2 index 3541811..4725340 100644 --- a/app/templates/moduls/card.html.j2 +++ b/app/templates/moduls/card.html.j2 @@ -2,10 +2,15 @@
- {% if card.icon.class %} + {# Prioritize image, fallback to icon via onerror #} + {% if card.icon.cache %} + {{ card.title }} + {% if card.icon.class %} + + {% endif %} + {% elif card.icon.class %} - {% else %} - {{ card.title }} {% endif %}