aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html b/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
index d69966f..e90c390 100644
--- a/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
+++ b/generators/hugo/themes/tdro/layouts/shortcodes/marginimage.html
@@ -10,8 +10,10 @@
<label for="{{ $id }}" title="{{ .Inner | replaceRE "\n" " " | markdownify }}"><span>{{ $mark | markdownify }}</span></label>
<input type="checkbox" id="{{ $id }}" name="toggle">
<margin-note title="{{ $mark }}" image {{ $set }}>
- <a href="{{ $source }}" onclick="return false;">
- <img data-image-zoom
+ <a href="{{ $source }}">
+ <img
+ loading="lazy"
+ data-image-zoom=""
src="{{ $source }}"
title="{{ $title }}"
width="{{ $image.Width }}"