mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 03:26:20 +05:30
Allow automatic TOC
If enabled, it will automatically add the TOC to post, page/subpage. It will check the shortcode first before add it.
This commit is contained in:
parent
863557c235
commit
849249302b
3 changed files with 75 additions and 13 deletions
|
|
@ -138,12 +138,19 @@ multi.site = "false"
|
|||
; TOC label
|
||||
toc.label = "Table of Contents"
|
||||
|
||||
; TOC inital state
|
||||
; TOC inital state. Option "close and "open"
|
||||
toc.state = "close"
|
||||
|
||||
; TOC style
|
||||
; Load the default style or not. Option "default" and "theme"
|
||||
toc.style = "default"
|
||||
|
||||
; Automatically add TOC, but first it check if the shortcode available or not
|
||||
; Option "true" and "false"
|
||||
toc.automatic = "false"
|
||||
|
||||
; Automatically insert the TOC in x paragraph
|
||||
toc.position = "1"
|
||||
|
||||
; Set the theme here
|
||||
views.root = "themes/twentysixteen"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue