From 3f463aeb0cc354a7cd8658ca6b06e61838417ac0 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 9 Dec 2019 11:10:55 +0100 Subject: [PATCH] Set toc starting level to 1 --- exampleSite/config.toml | 6 +++++- exampleSite/config.yaml | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 57f1a7f..57cb55c 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -10,8 +10,12 @@ disablePathToLower = true enableGitInfo = true # Needed for mermaid/katex shortcodes +[markup] [markup.goldmark.renderer] -unsafe = true + unsafe = true + +[markup.tableOfContents] + startLevel = 1 # Multi-lingual mode config # There are different options to translate files diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 621387a..972b3ee 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -14,6 +14,8 @@ markup: goldmark: renderer: unsafe: true + tableOfContents: + startLevel: 1 # Multi-lingual mode config # There are different options to translate files