aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-12-05 20:02:25 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2017-12-05 20:02:25 +0800
commit02d9d03d873b666b37b865c2323078ce7c433558 (patch)
tree22867fa38a9dd0b1c923c5def74b39f190b1b3fd /exampleSite
parentfa7e44cec87ae2ec0c572cf808976492d486e969 (diff)
feat: auto expand and collapse toc
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index b56118d..ac0eb83 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -63,6 +63,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配
# 一些全局开关,你可以在每一篇内容的 front matter 中单独关闭某些选项
# Some global options, you can close something in front matter.
toc = true # 是否开启目录
+ autoCollapseToc = true # Auto expand and collapse toc # 目录自动展开/折叠
fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击)
bootcdn = false # In china. @Deprecated: use [params.publicCDN] # 是否使用bootcdn(@Deprecated: 请使用[params.publicCDN])
mathjax = true # see https://www.mathjax.org/ # 是否使用mathjax(数学公式)