config: improve configuration for example site (#786)
Some minor improvements.
This commit is contained in:
parent
2247bc582c
commit
8d55b508d3
|
@ -1,27 +1,30 @@
|
||||||
title = "Notre-Dame de Paris"
|
title = "Notre-Dame de Paris"
|
||||||
baseURL = "https://gohugo-theme-ananke.pages.dev"
|
baseURL = "https://gohugo-theme-ananke.pages.dev"
|
||||||
languageCode = "en-us"
|
|
||||||
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
|
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
|
||||||
resourceDir = "../resources"
|
resourceDir = "../resources"
|
||||||
|
|
||||||
DefaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
SectionPagesMenu = "main"
|
sectionPagesMenu = "main"
|
||||||
googleAnalytics = ""
|
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
|
|
||||||
|
[services.googleAnalytics]
|
||||||
|
id = ''
|
||||||
|
|
||||||
[pagination]
|
[pagination]
|
||||||
pagerSize = 3 # this is set low for demonstrating with dummy content. Set to a higher number
|
pagerSize = 3 # this is set low for demonstrating with dummy content. Set to a higher number
|
||||||
|
|
||||||
[languages]
|
|
||||||
[languages.en]
|
[languages.en]
|
||||||
title = "Ananke"
|
|
||||||
weight = 1
|
|
||||||
contentDir = "content/en"
|
contentDir = "content/en"
|
||||||
|
languageCode = 'en-US'
|
||||||
|
weight = 1
|
||||||
|
title = "Ananke"
|
||||||
# languageDirection = 'rtl' for Right-To-Left languages
|
# languageDirection = 'rtl' for Right-To-Left languages
|
||||||
|
|
||||||
[languages.fr]
|
[languages.fr]
|
||||||
title = "Ananke Fr"
|
|
||||||
weight = 2
|
|
||||||
contentDir = "content/fr"
|
contentDir = "content/fr"
|
||||||
|
languageCode = 'fr-FR'
|
||||||
|
weight = 2
|
||||||
|
title = "Ananke Fr"
|
||||||
|
|
||||||
[sitemap]
|
[sitemap]
|
||||||
changefreq = "monthly"
|
changefreq = "monthly"
|
||||||
|
@ -57,7 +60,6 @@ networks = [
|
||||||
"linkedin"
|
"linkedin"
|
||||||
]
|
]
|
||||||
|
|
||||||
[params.ananke.social]
|
|
||||||
[params.ananke.social.facebook]
|
[params.ananke.social.facebook]
|
||||||
username = "patrick.kollitsch"
|
username = "patrick.kollitsch"
|
||||||
# profilelink = "https://www.facebook.com/patrick.kollitsch"
|
# profilelink = "https://www.facebook.com/patrick.kollitsch"
|
||||||
|
|
Loading…
Reference in a new issue