From 3d1cd33836c37d02cd177be37e74d1f578065569 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sat, 16 Mar 2024 10:14:41 -0700 Subject: [PATCH] Miscellaneous updates --- content/en/functions/hugo/IsMultihost.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/content/en/functions/hugo/IsMultihost.md b/content/en/functions/hugo/IsMultihost.md index 9fc53ab37..2b582636b 100644 --- a/content/en/functions/hugo/IsMultihost.md +++ b/content/en/functions/hugo/IsMultihost.md @@ -16,17 +16,21 @@ action: Site configuration: {{< code-toggle file=hugo >}} +defaultContentLanguage = 'de' +defaultContentLanguageInSubdir = true [languages] + [languages.de] + baseURL = 'https://de.example.org/' + languageCode = 'de-DE' + languageName = 'Deutsch' + title = 'Projekt Dokumentation' + weight = 1 [languages.en] baseURL = 'https://en.example.org/' + languageCode = 'en-US' languageName = 'English' - title = 'In English' + title = 'Project Documentation' weight = 2 - [languages.fr] - baseURL = 'https://fr.example.org' - languageName = 'Français' - title = 'En Français' - weight = 1 {{< /code-toggle >}} Template: