mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-26 20:41:37 +01:00
433a25658e
Commit 93a7b4c
had the side effect of causing existing theme demos that rely on the HugoBasicExample to display the French language posts.
So with this PR the French translation of the posts is disabled by default, to keep things for existing demos as before.
**NOTE**
When we are done with overhauling the HugoBasicExample we will need to add documentation in its README.
For example in this case we will need to state that authors who wish to have a multilingual theme demo will need to remove `disableLanguages = ["fr"]` from the exampleSite config.
19 lines
434 B
TOML
19 lines
434 B
TOML
baseurl = "https://gohugo.io/"
|
||
title = "Hugo Themes"
|
||
author = "Steve Francia"
|
||
copyright = "Copyright © 2008–2018, Steve Francia and the Hugo Authors; all rights reserved."
|
||
canonifyurls = true
|
||
paginate = 3
|
||
languageCode = "en"
|
||
DefaultContentLanguage = "en"
|
||
disableLanguages = ["fr"]
|
||
|
||
[languages.en]
|
||
languageName = "English"
|
||
weight = 1
|
||
title = "Hugo Themes"
|
||
|
||
[languages.fr]
|
||
languageName = "Français"
|
||
weight = 2
|
||
title = "Thèmes Hugo" |