diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-16 07:50:54 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-16 07:50:54 +0800 |
| commit | 1c61806b2bd1384fdedcf5c1320d80a0d3541570 (patch) | |
| tree | 87f8b3f02a0afb373e2e1c2613ea869cdb4bfc08 /layouts/partials/scripts.html | |
| parent | 75f69d9f6c8748349eaace9f9d9f4ef7a1cae247 (diff) | |
remove: swup
Former-commit-id: 4063cbe27ddcca4346124aefeddbe713819a332c
Diffstat (limited to 'layouts/partials/scripts.html')
| -rw-r--r-- | layouts/partials/scripts.html | 14 |
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> |
