From 4f213886436423c935961b46d9da8388fa95fbfb Mon Sep 17 00:00:00 2001 From: Pim Date: Fri, 5 Jul 2024 22:33:06 +0200 Subject: [PATCH] fix: also use hls if possible for gifs in post_in_list macro (#177) --- templates/utils.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/templates/utils.html b/templates/utils.html index e1d317a..c5ba45f 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -262,11 +262,7 @@ {% endif %} - {% else if (prefs.layout.is_empty() || prefs.layout == "card") && post.post_type == "gif" %} -
- -
- {% else if (prefs.layout.is_empty() || prefs.layout == "card") && post.post_type == "video" %} + {% else if (prefs.layout.is_empty() || prefs.layout == "card") && (post.post_type == "gif" || post.post_type == "video") %} {% if prefs.use_hls == "on" && !post.media.alt_url.is_empty() %}