diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-06-14 16:30:44 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-06-14 16:30:44 +0200 |
| commit | 5aeaec0fcc3c0145fbc2a4fd3d87f8201ea96c96 (patch) | |
| tree | 17439194fcba27ef9c585ba71c2202406c581d52 /layouts/shortcodes | |
| parent | ef5e6fd5ec71bb277ca97304ba4f9987aa4d680b (diff) | |
feat: Small quality of life
Diffstat (limited to 'layouts/shortcodes')
| -rw-r--r-- | layouts/shortcodes/img.html | 2 |
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 |
