summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config.toml57
1 files changed, 54 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 4bf5dcb..568e2bd 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -7,6 +7,55 @@ theme = ['github.com/sergeyklay/gohugo-theme-ed']
resourceDir = '../resources'
enableRobotsTXT = true
+[outputs]
+ # TODO:
+ # home = [ "HTML", "RSS", "Atom", "JSON", "humanstxt" ]
+ # section = [ "HTML", "RSS", "Atom" ]
+ home = [ 'HTML', 'humanstxt' ]
+
+[outputFormats.humanstxt]
+ baseName = 'humans'
+ isPlainText = true
+ mediaType = 'text/plain'
+
+# TODO:
+# [outputFormats.Atom]
+# mediaType = "application/atom"
+# baseName = "feed"
+# isPlainText = false
+
+# Possible 'Author' formats are:
+#
+# [author]
+# name = 'Foo Bar'
+# email = 'john@example.com'
+# github = '@john_doe'
+# location = 'Kyiv, Ukraine'
+# ========= OR ===========
+#
+# [author]
+# [author.john_doe]
+# name = 'John Doe'
+# email = 'john@example.com'
+# github = '@john_doe'
+# location = 'Kyiv, Ukraine'
+# [author.jane_doe]
+# name = 'Jane Doe'
+# email = 'jane@example.com'
+# github = '@jane_doe'
+# location = 'Lviv, Ukraine'
+[author]
+ [author.john_doe]
+ name = 'John Doe'
+ email = 'john@example.com'
+ github = '@john_doe'
+ location = 'Kyiv, Ukraine'
+ [author.jane_doe]
+ name = 'Jane Doe'
+ email = 'jane@example.com'
+ github = '@jane_doe'
+ location = 'Lviv, Ukraine'
+
[languages]
[languages.en]
weight = 1
@@ -45,9 +94,10 @@ enableRobotsTXT = true
[social]
# Facebook Page Admin ID for Domain Insights
facebook_admin = ''
+ # Facebook Page ID
facebook_id = ''
-# https://gohugo.io/content-management/menus/
+# For more see https://gohugo.io/content-management/menus/
[menu]
[[menu.main]] # sections in the website sidebar
identifier = 'home' # section id
@@ -82,12 +132,13 @@ enableRobotsTXT = true
[menu.main.params]
external = true
-# https://gohugo.io/getting-started/configuration-markup/
+# For more see https://gohugo.io/getting-started/configuration-markup/
[markup]
defaultMarkdownHandler = 'goldmark'
[markup.highlight]
- # Syntax highlight style, see https://xyproto.github.io/splash/docs/
+ # Syntax highlight style.
+ # For more see https://xyproto.github.io/splash/docs/
style = 'emacs'
[markup.goldmark]