aboutsummaryrefslogtreecommitdiff
path: root/layouts/shortcodes/img.html
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-06-14 16:30:44 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-06-14 16:30:44 +0200
commit5aeaec0fcc3c0145fbc2a4fd3d87f8201ea96c96 (patch)
tree17439194fcba27ef9c585ba71c2202406c581d52 /layouts/shortcodes/img.html
parentef5e6fd5ec71bb277ca97304ba4f9987aa4d680b (diff)
feat: Small quality of life
Diffstat (limited to 'layouts/shortcodes/img.html')
-rw-r--r--layouts/shortcodes/img.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html
index 45ce3da..9e50ce4 100644
--- a/layouts/shortcodes/img.html
+++ b/layouts/shortcodes/img.html
@@ -4,7 +4,7 @@
{{ $captionPosition := .Get "caption-position" }}
<figure class='mb-5'>
- <img src="{{ $img.RelPermalink }}" {{ with $alt }} alt="{{ . }}" {{ end }} width="{{ $img.Width }}" height="{{ $img.Height }}" />
+ <img src="{{ $img.RelPermalink }}" {{ with $alt }} alt="{{ . }}" {{ end }} width="{{ $img.Width }}" height="{{ $img.Height }}" loading="lazy" />
{{ with $caption }}
<figcaption