From e08a5626beed7c2dac4930ba20d22d7343254a36 Mon Sep 17 00:00:00 2001 From: 3err0 Date: Mon, 20 Jan 2025 14:25:15 +0800 Subject: [PATCH] show images --- templates/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index b8abfb7..b33fb39 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,7 +6,9 @@ {% for listing in listings %}
- ... + {% if listing.images|length > 0 %} + + {% endif %}
{{ listing.title }}

{{ listing.description }}