summaryrefslogtreecommitdiff
path: root/layouts/partials/scripts.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2024-12-19 16:24:33 +0800
committerEltrac <hi@guhub.cn>2024-12-19 16:24:33 +0800
commitb4a540a7989727b7d5ca2691826eab31a1bb3415 (patch)
treec9e46ec5e592b563d9aee32eace520f166359af6 /layouts/partials/scripts.html
parent71b662c72350f978098f4418dae82f1a6e98ec41 (diff)
feat: style for toc list
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r--layouts/partials/scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 89be5e8d..ed791d4c 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -40,7 +40,7 @@ function loadToc() {
// Where to grab the headings to build the table of contents.
contentSelector: '#post-content',
// Which headings to grab inside of the contentSelector element.
- headingSelector: 'h2, h3',
+ headingSelector: 'h2, h3:not(blockquote > h3)',
// For headings inside relative or absolute positioned containers within content.
hasInnerContainers: true,
});