diff options
Diffstat (limited to 'layouts/shortcodes/img-r.html')
-rw-r--r-- | layouts/shortcodes/img-r.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/shortcodes/img-r.html b/layouts/shortcodes/img-r.html index e67b32f..6ae976e 100644 --- a/layouts/shortcodes/img-r.html +++ b/layouts/shortcodes/img-r.html @@ -1,8 +1,8 @@ {{- $file := .Get 0 }} {{- $path := printf "content_images/%s" $file}} {{- $img := resources.Get $path }} -{{- $img1x := $img.Resize "150x webp" }} -{{- $img2x := $img.Resize "300x webp" }} +{{- $img1x := $img.Resize "150x jpg" }} +{{- $img2x := $img.Resize "300x jpg" }} {{- $caption := .Inner}} <img loading="lazy" ; |