diff options
author | amzrk2 | 2020-06-04 16:10:11 +0800 |
---|---|---|
committer | amzrk2 | 2020-06-04 16:10:11 +0800 |
commit | 8cd169db2d0d4306434894e7eeaa41ef906515f2 (patch) | |
tree | a9f592adc8c3630b3d3d93ed25ad615a41afc754 /README.md | |
parent | 98cd7b30728bd5d98abbfea10000038604a59156 (diff) | |
download | hugo-theme-fuji-8cd169db2d0d4306434894e7eeaa41ef906515f2.tar.gz hugo-theme-fuji-8cd169db2d0d4306434894e7eeaa41ef906515f2.tar.bz2 hugo-theme-fuji-8cd169db2d0d4306434894e7eeaa41ef906515f2.zip |
Allow disable toc globally
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -71,19 +71,21 @@ Create `[SITEROOT]/layouts/partials/favicon.html` to cover theme's favicon. You can generate your favicons in [realfavicongenerator.net](https://realfavicongenerator.net/). -### ❌ In-post license & comments +### ❌ In-post license, comments und toc You can set variables below in post's front matter to disable them: ```toml noLicense = true # Do not show license in this post noComments = true # Do not show comments in this post +noToc = true # Do not show toc in this post ``` -Or you can disable the license globally, set this below to false or comment it in your `config.toml`: +Or you can disable these globally, set these below to false or comment it in your `config.toml`: ```toml showLicense = false +showToc = false ``` ### 🎵 APlayer |