feat(TOC): add keepStatic param for TOC (#372)

This commit is contained in:
Dillon
2020-05-18 22:27:01 +08:00
committed by GitHub
parent 8f53c999e5
commit 9dd5230204
13 changed files with 37 additions and 19 deletions

View File

@@ -424,7 +424,9 @@ Please open the code block below to view the complete sample configuration :(far
[params.page.toc]
# whether to enable the table of the contents
enable = true
# whether to make the table of the contents automatically collapsed
# {{< version 0.2.9 >}} whether to keep the static table of the contents in front of the post
keepStatic = true
# whether to make the table of the contents in the sidebar automatically collapsed
auto = true
# {{< version 0.2.0 changed >}} {{< link "https://katex.org/" KaTeX >}} mathematical formulas
[params.page.math]