summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2024-12-19 15:20:55 +0800
committerEltrac <hi@guhub.cn>2024-12-19 15:20:55 +0800
commitd5e989e878e2f1a4dc9814381a589e86b38769c5 (patch)
treecffd816e52ad5f2e7baa4c65a37a54427e5b1dc5 /layouts/_default/single.html
parentdf4366e8b041198ba922a5dad34e41672283fad9 (diff)
refactor: move fancybox with other libraries
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index faf70e6a..f212dd36 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -59,8 +59,4 @@
{{ end }}
</article>
- <!-- use fancybox -->
- <!-- the reason it is replace here it that the fancybox.js is loaded after the swup.js -->
- <script src="https://unpkg.com/@fancyapps/ui@5.0.36/dist/fancybox/fancybox.umd.js"></script>
- <script>Fancybox.bind("[data-fancybox]");</script>
{{ partial "snippets/document-end.html" . }}