mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Disable French (#21)
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.
This commit is contained in:
parent
b92f88f27c
commit
433a25658e
@ -6,6 +6,7 @@ canonifyurls = true
|
|||||||
paginate = 3
|
paginate = 3
|
||||||
languageCode = "en"
|
languageCode = "en"
|
||||||
DefaultContentLanguage = "en"
|
DefaultContentLanguage = "en"
|
||||||
|
disableLanguages = ["fr"]
|
||||||
|
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
|
Loading…
Reference in New Issue
Block a user