summaryrefslogtreecommitdiff
path: root/layouts/partials/button-15.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-06-28 14:57:08 +0200
committermms <michal@sapka.me>2024-06-28 14:57:08 +0200
commitd6ac0fc244cc0666bae99833c7e5e835308b9eb9 (patch)
tree7b8db2a69ca69614d86eedeb54a2b4faaad96667 /layouts/partials/button-15.html
parent9566717e717438cee59e6f251a8234b5164f56b5 (diff)
chore: lazy load content images
Diffstat (limited to 'layouts/partials/button-15.html')
-rw-r--r--layouts/partials/button-15.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/partials/button-15.html b/layouts/partials/button-15.html
index b715d2a..a155f05 100644
--- a/layouts/partials/button-15.html
+++ b/layouts/partials/button-15.html
@@ -5,7 +5,8 @@
{{- $img2x := $img.Resize "160x30 webp q90"}}
{{- if $.href }} <a href="{{ $.href }}"> {{ end }}
- <img
+ <img
+ loading="lazy"
class="webbutton"
alt="{{ $.alt }}"
src="{{ $img1x.Permalink }}"