Set toc starting level to 1
This commit is contained in:
parent
d934e0b12a
commit
3f463aeb0c
2 changed files with 7 additions and 1 deletions
|
@ -10,9 +10,13 @@ disablePathToLower = true
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
|
|
||||||
# Needed for mermaid/katex shortcodes
|
# Needed for mermaid/katex shortcodes
|
||||||
|
[markup]
|
||||||
[markup.goldmark.renderer]
|
[markup.goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|
||||||
|
[markup.tableOfContents]
|
||||||
|
startLevel = 1
|
||||||
|
|
||||||
# Multi-lingual mode config
|
# Multi-lingual mode config
|
||||||
# There are different options to translate files
|
# There are different options to translate files
|
||||||
# See https://gohugo.io/content-management/multilingual/#translation-by-filename
|
# See https://gohugo.io/content-management/multilingual/#translation-by-filename
|
||||||
|
|
|
@ -14,6 +14,8 @@ markup:
|
||||||
goldmark:
|
goldmark:
|
||||||
renderer:
|
renderer:
|
||||||
unsafe: true
|
unsafe: true
|
||||||
|
tableOfContents:
|
||||||
|
startLevel: 1
|
||||||
|
|
||||||
# Multi-lingual mode config
|
# Multi-lingual mode config
|
||||||
# There are different options to translate files
|
# There are different options to translate files
|
||||||
|
|
Loading…
Reference in a new issue