aboutsummaryrefslogtreecommitdiff
path: root/exampleSite
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-09 11:10:55 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-12-09 11:24:31 +0100
commit3f463aeb0cc354a7cd8658ca6b06e61838417ac0 (patch)
tree7f1b93dc3a6a144e9cd72704188df8cc89798df3 /exampleSite
parentd934e0b12af64f943f9f960a04abe3be93648ab7 (diff)
Set toc starting level to 1
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml6
-rw-r--r--exampleSite/config.yaml2
2 files changed, 7 insertions, 1 deletions
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