Set toc starting level to 1

This commit is contained in:
Alex Shpak 2019-12-09 11:10:55 +01:00
parent d934e0b12a
commit 3f463aeb0c
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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