diff options
| author | Eltrac <hi@guhub.cn> | 2025-01-06 09:59:10 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-01-06 09:59:10 +0800 |
| commit | fc792739392696817f36374640e4b09a4b997615 (patch) | |
| tree | 1118656fcdeb0614825a011a86f8d0ba0b397e7d /layouts/partials/scripts.html | |
| parent | 9e1fb0181ca828d96e0cd8cd3a34b981e09e0a18 (diff) | |
feat(theme): add littlefoot.js
Diffstat (limited to 'layouts/partials/scripts.html')
| -rw-r--r-- | layouts/partials/scripts.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 37a427c6..e1babce6 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -22,12 +22,15 @@ function loadToc() { } loadToc(); +/* === littlefoot === */ +littlefoot.littlefoot(littlefootOptions) + /* === swup === */ const swup = new Swup(); swup.hooks.on('page:view', () => { - loadWalineComment(); lazyLoadInstance.update(); Fancybox.bind("[data-fancybox]"); loadToc(); + littlefoot.littlefoot(littlefootOptions) }); </script> |
