From 51b11323bc759c9b148a757fb1e38c030ce69ac5 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Wed, 22 Jan 2025 16:20:29 +0100 Subject: [PATCH] an article doesn't need a photo --- template/index_template.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/template/index_template.html b/template/index_template.html index 732d740..4bb048a 100644 --- a/template/index_template.html +++ b/template/index_template.html @@ -11,7 +11,9 @@
- + {% if articles[0].custom.containsKey("photo") %} + + {% endif %} {% for article in articles %}