From 69d42bb808d274539e6be31de34910bdb8067e28 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Thu, 31 Mar 2022 20:19:19 +0800 Subject: [PATCH] :pencil2: Docs(theme-documentation-basics): modify keepStatic default value to false --- .../content/posts/theme-documentation-basics/index.en.md | 2 +- .../content/posts/theme-documentation-basics/index.zh-cn.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index ef9d9f57..590f2609 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -449,7 +449,7 @@ Please open the code block below to view the complete sample configuration :(far # whether to enable the table of the contents enable = true # {{< version 0.2.9 >}} whether to keep the static table of the contents in front of the post - keepStatic = true + keepStatic = false # whether to make the table of the contents in the sidebar automatically collapsed auto = true # {{< version 0.2.13 >}} position of TOC ("left", "right") diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md index 1967552f..e67f06ed 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md @@ -460,7 +460,7 @@ hugo # 是否使用目录 enable = true # {{< version 0.2.9 >}} 是否保持使用文章前面的静态目录 - keepStatic = true + keepStatic = false # 是否使侧边目录自动折叠展开 auto = true # {{< version 0.2.13 >}} 目录位置 ("left", "right")