summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-03-16 08:36:34 +0800
committerEltrac <hi@guhub.cn>2025-03-16 08:36:34 +0800
commita656f32b3f41bd7eaec627b95429ebd3b6441c1f (patch)
tree69f9d965b9ad6e06cbe183db705fe59b225ef683 /layouts/partials
parentb6b81c63fb60337ff440b807fb53b69565c5150d (diff)
chore: move tocbot to local
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/scripts.html12
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>