diff options
| -rw-r--r-- | hugo.yaml | 1 | ||||
| -rw-r--r-- | layouts/partials/scripts.html | 14 |
2 files changed, 0 insertions, 15 deletions
@@ -85,7 +85,6 @@ params: - https://unpkg.com/cal-heatmap/dist/cal-heatmap.css - /pagefind/pagefind-ui.css externalJSFIles: - - https://unpkg.com/swup@4 - https://unpkg.com/tocbot@4.32.2/dist/tocbot.min.js - https://unpkg.com/vanilla-lazyload@19.1.3/dist/lazyload.min.js - https://unpkg.com/@fancyapps/ui@5.0.36/dist/fancybox/fancybox.umd.js 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> |
