diff --git a/templates/card.html b/templates/card.html index caf51aa..106d123 100644 --- a/templates/card.html +++ b/templates/card.html @@ -25,16 +25,16 @@

{{ gallery.description | default('') }}

+ {% if gallery.reactions %} + {% endif %} diff --git a/test.py b/test.py index bfb01be..5180ebd 100644 --- a/test.py +++ b/test.py @@ -73,7 +73,12 @@ template_vars = { "src": "https://files.c0defox.es/Pictures/arctic-fox.jpg", "description": "An arctic fox :3", "title": "fox", - "reactions": ["heart", "backpack3", "balloon", "bag-x"], + "reactions": [], + }, + { + "src": "https://files.c0defox.es/Pictures/arctic-fox.jpg", + "description": "An arctic fox :3", + "title": "fox", }, ], }