From 8cd169db2d0d4306434894e7eeaa41ef906515f2 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 4 Jun 2020 16:10:11 +0800 Subject: Allow disable toc globally --- README_CN.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README_CN.md') 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 ``` ### 🎵 文章音乐 -- cgit v1.2.3