From 16bb7041544e31ca94030ee1f97b829af6c2d2cf Mon Sep 17 00:00:00 2001 From: Lorenzo Yario Date: Tue, 17 Sep 2024 21:15:43 -0700 Subject: [PATCH] lazy loading commit --- templates/post/image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/post/image.html b/templates/post/image.html index 8b845729..6e416502 100644 --- a/templates/post/image.html +++ b/templates/post/image.html @@ -20,7 +20,7 @@ {{ config.file_thumb|sprintf(config.file_icons.default) }} {% endif %} " - style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" + style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" {% if config.content_lazy_loading %}loading="lazy"{% endif %} > {% else %} @@ -39,7 +39,7 @@ {{ config.uri_thumb }}{{ post.thumb }} {% endif %} " - style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" alt="" + style="width:{{ post.thumbwidth }}px;height:{{ post.thumbheight }}px" {% if config.content_lazy_loading %}loading="lazy"{% endif %} alt="" /> {% endif %}