summaryrefslogtreecommitdiff
path: root/layouts/partials/scripts.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-03-16 07:50:54 +0800
committerEltrac <hi@guhub.cn>2025-03-16 07:50:54 +0800
commit4063cbe27ddcca4346124aefeddbe713819a332c (patch)
tree76fb16c394277184e57f79b0eb39304660cfbbc4 /layouts/partials/scripts.html
parentf77398f2d884dcb5bdf7a85b20e96cbdccd4437c (diff)
remove: swup
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r--layouts/partials/scripts.html14
1 files changed, 0 insertions, 14 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 7757e0c0..fbd7c65a 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -24,18 +24,4 @@ loadToc();
/* === littlefoot === */
littlefoot.littlefoot(littlefootOptions)
-
-/* === swup === */
-const swup = new Swup({
- linkSelector: 'a[href]:not(.no-swup)'
-});
-swup.hooks.on('page:view', () => {
- lazyLoadInstance.update();
- Fancybox.bind("[data-fancybox]");
- loadToc();
- littlefoot.littlefoot(littlefootOptions);
- initCalHeatmap();
- initPagefind();
- loadGiscus();
-});
</script>