diff options
| author | Eltrac <hi@guhub.cn> | 2025-03-16 08:36:34 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-03-16 08:36:34 +0800 |
| commit | 160d37fce48501da2ce75a6988695752fd175e6d (patch) | |
| tree | 9117a7b8df8231292444330654d5617d7dbcf2b4 /layouts/partials/scripts.html | |
| parent | 1cdfc37990a076499dfce4bf0f90d7006da62275 (diff) | |
chore: move tocbot to local
Former-commit-id: a656f32b3f41bd7eaec627b95429ebd3b6441c1f
Diffstat (limited to 'layouts/partials/scripts.html')
| -rw-r--r-- | layouts/partials/scripts.html | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index fbd7c65a..3beda6dd 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -10,18 +10,6 @@ lazyLoadInstance.update(); /* === Fancybox === */ Fancybox.bind("[data-fancybox]"); -/* === tocbot === */ -function loadToc() { - tocbot.init({ - tocSelector: '#toc', - contentSelector: '#post-content', - headingSelector: 'h2, h3:not(blockquote > h3)', - hasInnerContainers: true, - scrollSmoothOffset: -30 - }); -} -loadToc(); - /* === littlefoot === */ littlefoot.littlefoot(littlefootOptions) </script> |
