Closed mharrend closed 7 years ago
One can activate a table of contents for blog articles if the word count gets larger than a specified parameter.
Parameters in config.toml: tocIfNecessary = true
tocWordCount = 500 Additionally, one can deactivate the toc for single blog articles by adding tocActivated = false to the article config
Hugo Version:
Browser(s):
theme.toml
forget to fill template
One can activate a table of contents for blog articles if the word count gets larger than a specified parameter.
Parameters in config.toml: tocIfNecessary = true
Min. number of words in article after which toc gets generated
tocWordCount = 500 Additionally, one can deactivate the toc for single blog articles by adding tocActivated = false to the article config
Description
Motivation and Context
How Has This Been Tested?
Hugo Version:
Browser(s):
Screenshots (if appropriate):
Types of changes
Checklist:
theme.toml
, accordingly.