diff options
author | Dillon <dillonzq@outlook.com> | 2020-05-18 17:27:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 17:27:01 +0300 |
commit | 9dd5230204491e2ac61514ae22079ff0b6cd4ec9 (patch) | |
tree | b4cd737f554e79a845ab126f81e04ac60c8c773f /exampleSite/content/posts/theme-documentation-basics/index.en.md | |
parent | 8f53c999e524d6b4e5ff912c83c7be0ca9d36e62 (diff) |
feat(TOC): add keepStatic param for TOC (#372)
Diffstat (limited to 'exampleSite/content/posts/theme-documentation-basics/index.en.md')
-rw-r--r-- | exampleSite/content/posts/theme-documentation-basics/index.en.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index e3be7b0..3be2a10 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -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] |