aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/_default/_markup/render-image.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/_default/_markup/render-image.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/_default/_markup/render-image.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/_default/_markup/render-image.html b/generators/hugo/themes/tdro/layouts/_default/_markup/render-image.html
index 1b524ac..c08b69a 100644
--- a/generators/hugo/themes/tdro/layouts/_default/_markup/render-image.html
+++ b/generators/hugo/themes/tdro/layouts/_default/_markup/render-image.html
@@ -29,8 +29,10 @@
{{- /* This comment removes trailing newlines. */ -}}
<figure>
- <a href="{{ $source }}" onclick="return false;">
- <img data-image-zoom
+ <a href="{{ $source }}">
+ <img
+ loading="lazy"
+ data-image-zoom=""
src="{{ $source }}"
alt="{{ $.Text | htmlUnescape }}"
title="{{ $.Text | htmlUnescape }}"