diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-16 15:03:14 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-16 15:03:14 +0800 |
| commit | 4b4629edb733d5ebd6485755fd2f63b0457f62c8 (patch) | |
| tree | b772561bab2cd21aa6a5acaea8af65999b83f78e /assets/css/index.scss | |
| parent | 2e1c4f08ac54232787d15d0175f0e99e2a701f78 (diff) | |
perf: replace tocbot with statically generated toc
Generate TOC with Hugo's built-in {{ .TableOfContents }} and add minimal script to implement collapsible list and active styles.
Encapsulate TOC as a component where all JavaSript and CSS is in one place with HTML.
Configure markup.
Diffstat (limited to 'assets/css/index.scss')
| -rw-r--r-- | assets/css/index.scss | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/assets/css/index.scss b/assets/css/index.scss index 3406cf86..a0d1b8b6 100644 --- a/assets/css/index.scss +++ b/assets/css/index.scss @@ -9,7 +9,6 @@ @import "components/taxonomy"; @import "components/postlist"; @import "components/post"; -@import "components/content"; @import "components/comment"; @import "components/shortcodes"; @import "components/card"; |
