summaryrefslogtreecommitdiffstats
path: root/README_CN.md
diff options
context:
space:
mode:
authoramzrk22020-06-04 16:10:11 +0800
committeramzrk22020-06-04 16:10:11 +0800
commit8cd169db2d0d4306434894e7eeaa41ef906515f2 (patch)
treea9f592adc8c3630b3d3d93ed25ad615a41afc754 /README_CN.md
parent98cd7b30728bd5d98abbfea10000038604a59156 (diff)
downloadhugo-theme-fuji-8cd169db2d0d4306434894e7eeaa41ef906515f2.tar.gz
hugo-theme-fuji-8cd169db2d0d4306434894e7eeaa41ef906515f2.tar.bz2
hugo-theme-fuji-8cd169db2d0d4306434894e7eeaa41ef906515f2.zip
Allow disable toc globally
Diffstat (limited to 'README_CN.md')
-rw-r--r--README_CN.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README_CN.md b/README_CN.md
index 2da3478..7ea9dab 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -61,19 +61,21 @@ $ git submodule update --remote --merge
可以在 [realfavicongenerator.net](https://realfavicongenerator.net/) 快速创建自己的图标。
-### ❌ 关闭 License 和评论
+### ❌ 关闭 License、评论区和目录
-安全第一,在 front matter 里加上这些:
+在 front matter 里加上这些:
```toml
noLicense = true # 憋显示 License
noComments = true # 憋显示评论区
+noToc = true # 憋显示目录
```
-你也可以全局关闭 License 显示,在 `config.toml` 把下面这项设置为 false 或注释掉:
+你也可以全局关闭这些内容的显示,在 `config.toml` 把下面这些设置为 false 或注释掉:
```toml
showLicense = false
+showToc = false
```
### 🎵 文章音乐