summaryrefslogtreecommitdiff
path: root/themes/cranky/layouts/shortcodes/img.html
diff options
context:
space:
mode:
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" -}}