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:
-rw-r--r--Table-Of-Contents.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/Table-Of-Contents.md b/Table-Of-Contents.md
new file mode 100644
index 0000000..9b32572
--- /dev/null
+++ b/Table-Of-Contents.md
@@ -0,0 +1,11 @@
+## Disable Table of Contents
+
+### Globally
+
+Add `disableToC=true` to the section of `[param]` in your `config.toml`.
+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. \ No newline at end of file