From f4a8c002cc60316427f505c0a856c5d05f5e1f7e Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 20 Jul 2025 00:09:10 +0200 Subject: [PATCH] re-encode and filter --- layouts/shortcodes/image.html | 2 +- layouts/shortcodes/video.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index 96cb3dd..2056946 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -1,6 +1,6 @@
{{ $original := .Page.Resources.GetMatch (.Get "src") }} -{{ $preview := $original.Resize "660x" }} +{{ $preview := $original.Resize "700x Lanczos webp" }} {{ .Get diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html index 5f805e9..97b82b8 100644 --- a/layouts/shortcodes/video.html +++ b/layouts/shortcodes/video.html @@ -1,5 +1,5 @@
-