From f7cffff9f86b93ae39a6b558e5a5b8e73e3b9855 Mon Sep 17 00:00:00 2001 From: m32 Date: Fri, 13 Dec 2024 13:08:36 -0700 Subject: [PATCH] use webp --- templates/shortcodes/photo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shortcodes/photo.html b/templates/shortcodes/photo.html index a0980a1..3713d38 100644 --- a/templates/shortcodes/photo.html +++ b/templates/shortcodes/photo.html @@ -25,7 +25,7 @@ {% set classes = classes ~ " transition hover:scale-[2]" %} {% if resize is not defined or resize == true %} -{% set image = resize_image(path=src, op='fit_width', width=600) %} +{% set image = resize_image(path=src, op='fit_width', width=600, format='webp') %} {% endif %}