From 4063cbe27ddcca4346124aefeddbe713819a332c Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sun, 16 Mar 2025 07:50:54 +0800 Subject: remove: swup --- layouts/partials/scripts.html | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'layouts/partials/scripts.html') 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(); -}); -- cgit v1.2.3