Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AmazingRise/hugo-theme-diary.wiki.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRise <8315221+AmazingRise@users.noreply.github.com>2020-03-15 20:36:40 +0300
committerRise <8315221+AmazingRise@users.noreply.github.com>2020-03-15 20:36:40 +0300
commitc7b85c62b3de321ba67a7bfb3814b25ccafecd2d (patch)
tree216f4c287fd77829a8c8ffe431021ea4bf09a82d
parente36e3673fd3e8ef52f45dce655ee9555af287439 (diff)
Updated Customization (markdown)
-rw-r--r--Customization.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/Customization.md b/Customization.md
index e35e448..42db52b 100644
--- a/Customization.md
+++ b/Customization.md
@@ -60,8 +60,15 @@ Note: `weight` is the priority of each item. **The lowest the weight is, the hig
## Disable Table of Contents
+### Globally
+
Add `disableToC=true` to the section of `[param]` in your `config.toml`.
-Then you will not see the `table of contents`.
+Then you will not see it.
+
+### Apply for single page
+
+Add `disableToC: true` in the front matter of the page.
+Then you will disable it in the very page.
## Enable or disable comment area