aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/shortcodes/image.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/shortcodes/image.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/shortcodes/image.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/image.html b/generators/hugo/themes/tdro/layouts/shortcodes/image.html
index 3b211ff..eb3c1d1 100644
--- a/generators/hugo/themes/tdro/layouts/shortcodes/image.html
+++ b/generators/hugo/themes/tdro/layouts/shortcodes/image.html
@@ -2,8 +2,10 @@
{{- $image := imageConfig $imageFile -}}
<figure>
- <a href="{{ .Get `source` }}" onclick="return false;">
- <img data-image-zoom
+ <a href="{{ .Get `source` }}">
+ <img
+ loading="lazy"
+ data-image-zoom=""
src="{{ .Get `source` }}"
alt="{{ .Get `title` }}"
title="{{ .Get `title` }}"