summaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml10
1 files changed, 5 insertions, 5 deletions
diff --git a/hugo.toml b/hugo.toml
index 41d29c0..184ebde 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -1,5 +1,5 @@
baseURL = "https://example.org/"
-languageCode = "en-US"
+locale = "en"
title = "Your Website Name"
enableRobotsTXT = true # Copy this line to your project's hugo.toml
@@ -16,8 +16,8 @@ disableDefaultLanguageRedirect = false
[languages]
[languages.de]
contentDir = "content/de"
- languageCode = "de-DE"
- languageName = "Deutsch"
+ locale = "de"
+ label = "Deutsch"
weight = 2
[[languages.de.menus.main]]
@@ -41,8 +41,8 @@ disableDefaultLanguageRedirect = false
[languages.en]
contentDir = "content/en"
- languageCode = "en-US"
- languageName = "English"
+ locale = "en"
+ label = "English"
weight = 1
[menus]