Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugoBasicExample.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandros <onedrawingperday@users.noreply.github.com>2019-02-19 19:07:25 +0300
committerdigitalcraftsman <digitalcraftsman@users.noreply.github.com>2019-02-19 19:07:25 +0300
commit433a25658ea1f25794220e94ee964ce265f371d0 (patch)
treedd1adcf2003389c1475860141266b28da8be7dd0
parentb92f88f27c3f058615a060da92be73475a8dad2f (diff)
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.
-rw-r--r--config.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index c2cc790..b9ded72 100644
--- a/config.toml
+++ b/config.toml
@@ -6,6 +6,7 @@ canonifyurls = true
paginate = 3
languageCode = "en"
DefaultContentLanguage = "en"
+disableLanguages = ["fr"]
[languages.en]
languageName = "English"