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:
Diffstat (limited to 'Table-Of-Contents.md')
-rw-r--r--Table-Of-Contents.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/Table-Of-Contents.md b/Table-Of-Contents.md
index 663df4c..e3a4d93 100644
--- a/Table-Of-Contents.md
+++ b/Table-Of-Contents.md
@@ -10,8 +10,16 @@ Then you will not see it.
Add `disableToC: true` in the front matter of the page.
Then you will disable it in the very page.
-## Disable ToC auto collapse
+## ~ToC auto collapse~
-Please add `disableAutoCollapse=true` to the section of `[param]` in your site's `config.toml`.
+After 1.3.0, I've removed this function.
+
+To enable this (not recommended), please add `enableAutoCollapse=true` to the section of `[param]` in your site's `config.toml`.
+
+**NOTE:** This function relies on jQuery, which goes with terrible performance.
+
+For old users (version < 1.3.0), this function is enabled by default.
+
+To disable, please add `disableAutoCollapse=true` to `[param]`.
And this can be applied to single page as [Apply for single page](#Apply-for-single-page), too. \ No newline at end of file