From c4fb3883b1744c3241d1a64b623477525918f588 Mon Sep 17 00:00:00 2001 From: jtbx Date: Sat, 23 May 2026 18:42:34 +0200 Subject: [PATCH] Theme: Update for hugo v0.158 (renamed LanguageCode to Locale) --- hugo.toml | 2 +- themes/ccchh/layouts/_default/rss.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index 3b2548b..62fb6ad 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,5 +1,5 @@ baseURL = 'https://hamburg.ccc.de/' -languageCode = 'de-de' +locale = 'de-de' defaultContentLanguage = 'de' timeZone = 'Europe/Berlin' title = 'CCC Hansestadt Hamburg e.V.' diff --git a/themes/ccchh/layouts/_default/rss.xml b/themes/ccchh/layouts/_default/rss.xml index f4a91aa..baf0f96 100644 --- a/themes/ccchh/layouts/_default/rss.xml +++ b/themes/ccchh/layouts/_default/rss.xml @@ -37,7 +37,7 @@ {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }} Hugo - {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{ site.Language.Locale }}{{ with $authorEmail }} {{.}}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with $authorEmail }} {{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Copyright }} {{ . }}{{ end }}{{ if not .Date.IsZero }}