summaryrefslogtreecommitdiff
path: root/themes/cranky/layouts/shortcodes/img.html
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-02-10 10:04:14 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-02-10 10:04:14 -0500
commit8bd3be35bccd742bfa91793851443724d279824e (patch)
tree59861a1b592f8edfabefc55b30b3d18374174a35 /themes/cranky/layouts/shortcodes/img.html
parent5d58e8018c549c3b59c498eadbfcdb6955d02d70 (diff)
Update project structure + new shortcodes
Diffstat (limited to 'themes/cranky/layouts/shortcodes/img.html')
-rw-r--r--themes/cranky/layouts/shortcodes/img.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/cranky/layouts/shortcodes/img.html b/themes/cranky/layouts/shortcodes/img.html
index ff7959b..7d57af3 100644
--- a/themes/cranky/layouts/shortcodes/img.html
+++ b/themes/cranky/layouts/shortcodes/img.html
@@ -10,6 +10,7 @@
<img src="{{ .Get "src" }}"
{{- with .Get "mouse" }} title="{{.}}"{{ end -}}
{{- with .Get "alt" }} alt="{{.}}"{{ end -}}
+ loading="lazy"
>
{{- if .Get "link"}}</a>{{ end -}}
{{- with .Get "caption" -}}