From 7a527c8250a80eaef830f94f669aba4fc9ae1140 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 15 Apr 2020 01:10:49 +0200 Subject: [PATCH] document minimal required page config --- exampleSite/content/usage/configuration.md | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/exampleSite/content/usage/configuration.md b/exampleSite/content/usage/configuration.md index edd0fa5..0b90cc7 100644 --- a/exampleSite/content/usage/configuration.md +++ b/exampleSite/content/usage/configuration.md @@ -4,6 +4,25 @@ {{< tab "TOML" >}} ```Toml +# ... + +theme = hugo-geekdoc + +# Required to get well formatted code blocks +pygmentsUseClasses = true +pygmentsCodeFences = true + +disablePathToLower = true +enableGitInfo = true + +[markup] + [markup.goldmark.renderer] + # Needed for mermaid shortcode + unsafe = true + [markup.tableOfContents] + startLevel = 1 + endLevel = 9 + [params] # (Optional, default 6) Set how many table of contents levels to be showed on page. # Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/) @@ -64,6 +83,27 @@ {{< tab "YAML" >}} ```Yaml +--- +# ... + +theme: hugo-geekdoc + +# Required to get well formatted code blocks +pygmentsUseClasses: true +pygmentsCodeFences: true + +disablePathToLower: true +enableGitInfo: true + +markup: + goldmark: + # Needed for mermaid shortcode + renderer: + unsafe: true + tableOfContents: + startLevel: 1 + endLevel: 9 + params: # (Optional, default 6) Set how many table of contents levels to be showed on page. # Use false to hide ToC, note that 0 will default to 6 (https://gohugo.io/functions/default/)