summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-06-05 23:43:18 +0200
committermms <michal@sapka.me>2024-06-05 23:43:18 +0200
commitfb7cff0e18fc1e95412f0f59e5332937a8eb4f5f (patch)
tree98ab96be28cf93906450076502e99a7ea2bc13c2 /layouts/shortcodes
parentfa60345484ab7da2da8111b344eeb129c3a255a0 (diff)
feat: lazy load new images
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/image.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html
index 0bc0d58..2677b2c 100644
--- a/layouts/shortcodes/image.html
+++ b/layouts/shortcodes/image.html
@@ -40,6 +40,7 @@
"
width="{{ $img1x.Width }}"
height="{{ $img1x.Height }}"
+ loading="lazy"
>
</a>
<figcaption>