diff --git a/templates/photo_card.html b/templates/photo_card.html index 8b12a63..84a763e 100644 --- a/templates/photo_card.html +++ b/templates/photo_card.html @@ -45,16 +45,17 @@ {{photo.basename}}
-
- {% set tags = photo.tags() %} - {% set tag_names = [] %} - {% for tag in tags %} - {% do tag_names.append(tag.name) %} - {% endfor %} - {% if tags %} - T - {% endif %} -
+ {% set tags = photo.tags() %} + {% set tag_names = [] %} + {% for tag in tags %} + {% do tag_names.append(tag.name) %} + {% endfor %} + {% if tag_names %} +
+ {% set tag_names = ", ".join(tag_names) %} + T +
+ {% endif %} {% if photo.width %} {{photo.width}}×{{photo.height}},