From 10737afd5b1005b4e7f38354a61e05736c67a9ae Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 22 Aug 2026 20:29:34 +0200 Subject: [PATCH] Use the current names for the language config keys Hugo 0.158.0 renamed two of the keys the German language is configured with and warns about the old names on every build: WARN deprecated: project config key languages.de.languageCode was deprecated WARN deprecated: project config key languages.de.languageName was deprecated Rename languageCode to locale and languageName to label. The generated site is byte for byte the same afterwards, apart from the DTSTAMP of the calendar feeds, which carries the time of the build. Fixes: b62b53674fc9 ("new theme (work in progress)") Assisted-by: Claude:claude-opus-5 Signed-off-by: Hauke Mehrtens --- config/_default/languages.de.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/_default/languages.de.toml b/config/_default/languages.de.toml index 1301a61..1586f85 100644 --- a/config/_default/languages.de.toml +++ b/config/_default/languages.de.toml @@ -1,6 +1,6 @@ disabled = false -languageCode = "de" -languageName = "Deutsch" +locale = "de" +label = "Deutsch" weight = 1 title = "Chaos Computer Club Berlin"