summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authoramzrk22020-06-04 16:10:11 +0800
committeramzrk22020-06-04 16:10:11 +0800
commit8cd169db2d0d4306434894e7eeaa41ef906515f2 (patch)
treea9f592adc8c3630b3d3d93ed25ad615a41afc754 /README.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.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8d0283c..573140b 100644
--- a/README.md
+++ b/README.md
@@ -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