update readme for TocSide

This commit is contained in:
Reorx 2022-04-13 18:14:22 +08:00
parent 08b21a18b0
commit 8fb2f38f43
1 changed files with 4 additions and 2 deletions

View File

@ -16,10 +16,12 @@ By adding config:
```yaml
params:
TocSide: true
TocSide: 'left' # or 'right'
```
ToC will float on the right side of the page.
ToC will float on the left/right side of the page.
The ToC box is responsive, it only shows on the side when minimum screen size is 1440px.
this feature is enabled on this site.