blob: e3a4d931c551a42572262c207c06bd9c8794154b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
## 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.
## ~ToC auto collapse~
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.
|