summaryrefslogtreecommitdiff
path: root/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/hugo.toml b/hugo.toml
index b7e2d8a..41d29c0 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -19,8 +19,9 @@ disableDefaultLanguageRedirect = false
languageCode = "de-DE"
languageName = "Deutsch"
weight = 2
-
+
[[languages.de.menus.main]]
+ # identifier = translation key in i18n toml file, can be called as .Identifier in templates; "name" is fallback
identifier = "home"
name = "Startseite"
pageRef = "/"
@@ -36,8 +37,8 @@ disableDefaultLanguageRedirect = false
identifier = "search"
name = "Suche"
pageRef = "/search/"
- weight = 20
-
+ weight = 30
+
[languages.en]
contentDir = "content/en"
languageCode = "en-US"