summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/img-r.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-08-31 19:22:11 +0200
committermms <michal@sapka.me>2024-08-31 19:22:11 +0200
commit091aa067d036ab60eb7d627d1997572daebaa310 (patch)
treed975c020497928a05ee30c257cfc88dc943cae76 /layouts/shortcodes/img-r.html
parentbcf8aee086ae1c9e66a8ca461bf0912cda5d701d (diff)
feat(blog): rrc
Diffstat (limited to 'layouts/shortcodes/img-r.html')
-rw-r--r--layouts/shortcodes/img-r.html4
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" ;