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 @@
-