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-21 22:44:53 +0300
committerdigitalcraftsman <digitalcraftsman@users.noreply.github.com>2019-02-21 22:44:53 +0300
commit946616d8e1fcee141ba2647e7cdc8a771f6b81bc (patch)
tree0f87331229db082ac19442b8152c8b350837b4f8
parentb3742c5b52e38c49fc9050e670d0c5e5afdcef49 (diff)
Disable French (#30)
-rw-r--r--config.toml3
-rw-r--r--configTaxo.toml14
2 files changed, 15 insertions, 2 deletions
diff --git a/config.toml b/config.toml
index 2c001c5..37c50d4 100644
--- a/config.toml
+++ b/config.toml
@@ -1,8 +1,7 @@
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
+copyright = "Copyright © 2008–2019, Steve Francia and the Hugo Authors; all rights reserved."
paginate = 3
languageCode = "en"
DefaultContentLanguage = "en"
diff --git a/configTaxo.toml b/configTaxo.toml
index 37abe6c..6436f82 100644
--- a/configTaxo.toml
+++ b/configTaxo.toml
@@ -1,3 +1,17 @@
+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"
+
[taxonomies]
category = "categories"
tag = "tags"