diff options
| author | Eltrac <hi@guhub.cn> | 2024-12-19 16:24:33 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2024-12-19 16:24:33 +0800 |
| commit | b4a540a7989727b7d5ca2691826eab31a1bb3415 (patch) | |
| tree | c9e46ec5e592b563d9aee32eace520f166359af6 /layouts/partials/scripts.html | |
| parent | 71b662c72350f978098f4418dae82f1a6e98ec41 (diff) | |
feat: style for toc list
Diffstat (limited to 'layouts/partials/scripts.html')
| -rw-r--r-- | layouts/partials/scripts.html | 2 |
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, }); |
