diff options
author | mms <michal@sapka.me> | 2024-06-28 14:57:08 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-06-28 14:57:08 +0200 |
commit | d6ac0fc244cc0666bae99833c7e5e835308b9eb9 (patch) | |
tree | 7b8db2a69ca69614d86eedeb54a2b4faaad96667 /layouts/shortcodes/imgproc.html | |
parent | 9566717e717438cee59e6f251a8234b5164f56b5 (diff) |
chore: lazy load content images
Diffstat (limited to 'layouts/shortcodes/imgproc.html')
-rw-r--r-- | layouts/shortcodes/imgproc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html index 115da4d..a9ba008 100644 --- a/layouts/shortcodes/imgproc.html +++ b/layouts/shortcodes/imgproc.html @@ -15,7 +15,7 @@ {{ errorf "Invalid image processing command: Must be one of Crop, Fit, Fill or Resize."}} {{ end }} <figure> - <img class="centered" alt="{{ $caption }}" src="{{ $img.Permalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}"> + <img loading="lazy" class="centered" alt="{{ $caption }}" src="{{ $img.Permalink }}" width="{{ $img.Width }}" height="{{ $img.Height }}"> <figcaption> {{ $caption }} |