Website Summary Files Commits Branches @commit @diff @stats
path: root / exampleSite / config.toml
diff options
context:
space:
mode:
1 files changed, 59 insertions, 0 deletions
-rw-r--r--exampleSite/config.toml59
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
new file mode 100644
index 0000000..4f58560
--- /dev/null
+++ b/exampleSite/config.toml
@@ -0,0 +1,59 @@
+# set `baseurl` to your root domain
+# if you set it to "/" share icons won't work properly on production
+baseurl = "https://example.com/" # Include trailing slash
+title = "Clarity"
+author = "Jane Doe"
+copyright = "Copyright © 2008–2018, Steve Francia and the Hugo Authors; all rights reserved."
+# canonifyurls = true
+paginate = 10
+theme = "hugo-clarity"
+
+[markup]
+ [markup.highlight]
+ codeFences = true
+ guessSyntax = true
+ hl_Lines = "--"
+ lineNoStart = 1
+ lineNos = true # always set to true # else line numbers won't show at all! even when you toggle them on in the UI
+ lineNumbersInTable = false
+ noClasses = false
+ # style = "monokai"
+ tabWidth = 2
+
+[params]
+author = "Jane Doe"
+twitter = "@janedoe"
+largeTwitterCard = false # set to true if you want to show a large twitter card image. The default is a small twitter card image
+introDescription = "Technologist, perpetual student, teacher, continual incremental improvement."
+
+# Google analytics Id
+ga_analytics = "XXXXXXXXXX"
+
+# limit the number of taxonomies links shown on the sidebar of each page by default.
+numberOfTagsShown = 14 # Applies for all other default & custom taxonomies. e.g categories, brands see https://gohugo.io/content-management/taxonomies#what-is-a-taxonomy
+
+# will be used on share >> twitter, facebook, linkedin
+fallBackOgImage = "images/thumbnail.png"
+
+# sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
+codeMaxLines = 7
+
+# disable showing line numbers by default. Switch to `true` if you'd rather have them on.
+codeLineNumbers = false
+
+
+# directory(s) where your articles are located
+mainSections = ["post"] # see config details here https://gohugo.io/functions/where/#mainsections
+
+# center logo on navbar
+centerLogo = false # Set to "true" for centering or "false" for left aligned.
+
+logo = "logos/logo.png"
+
+# Label Non inline images on an article body
+figurePositionShow = false # toggle on or off globally
+# you can toggle this behaviour on or off on per page using the same variable inside your articles frontmatter
+figurePositionLabel = "Figure" # the text before image number e.g Figure 1.0
+
+# Set the collapsed mobile navigation to either appear from the left or the right
+mobileNavigation = "left" # if you prefer right change to 'right'