aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/shortcodes/sideimage.html
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2024-01-06 19:16:12 -0500
committerThedro Neely <thedroneely@gmail.com>2024-01-06 19:16:12 -0500
commitb0feb62a0bbb5987fe37ab8bc26503c3dd812d84 (patch)
tree9d3cb03bb57cc909cc55a114b2680d6f84d3e439 /generators/hugo/themes/tdro/layouts/shortcodes/sideimage.html
parent6d745f1e8c7b870524e01ee7a4886db38634e2ae (diff)
downloadthedroneely.com-b0feb62a0bbb5987fe37ab8bc26503c3dd812d84.tar.gz
thedroneely.com-b0feb62a0bbb5987fe37ab8bc26503c3dd812d84.tar.bz2
thedroneely.com-b0feb62a0bbb5987fe37ab8bc26503c3dd812d84.zip
public/js/app: Remove CSP violations
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/shortcodes/sideimage.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/shortcodes/sideimage.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/sideimage.html b/generators/hugo/themes/tdro/layouts/shortcodes/sideimage.html
index a2574d5..0e18a56 100644
--- a/generators/hugo/themes/tdro/layouts/shortcodes/sideimage.html
+++ b/generators/hugo/themes/tdro/layouts/shortcodes/sideimage.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">
<side-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 }}"