From 53cd369b051e938a026f6ce8e148452056aed94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Mon, 22 Feb 2021 21:09:03 -0800 Subject: [PATCH] Avoid showing a broken image when there is no feed icon --- template/templates/common/feed_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/templates/common/feed_list.html b/template/templates/common/feed_list.html index bd233260..20cbaad5 100644 --- a/template/templates/common/feed_list.html +++ b/template/templates/common/feed_list.html @@ -4,7 +4,7 @@
- {{ if .Icon }} + {{ if and (.Icon) (gt .Icon.IconID 0) }} {{ .Title }} {{ end }} {{ if .Disabled }} 🚫 {{ end }}