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.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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 -- cgit v1.2.3