From 160d37fce48501da2ce75a6988695752fd175e6d Mon Sep 17 00:00:00 2001 From: Eltrac Date: Sun, 16 Mar 2025 08:36:34 +0800 Subject: chore: move tocbot to local Former-commit-id: a656f32b3f41bd7eaec627b95429ebd3b6441c1f --- layouts/partials/scripts.html | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'layouts/partials/scripts.html') 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) -- cgit v1.2.3