From 2f3103c12f5f9548f5101150eb7ca49272bf6a9c Mon Sep 17 00:00:00 2001 From: kreczko Date: Thu, 23 Jul 2026 15:53:24 +0100 Subject: [PATCH 1/2] fix(hugo > 0.158): change .Site.LanguageCode to .Site.Language.Locale --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 074fefcc..9bba1891 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{ print "" | safeHTML }} {{ partial "meta.html" . }} From badce9c0adf211493e7e3951f82de0e3f6b9e2da Mon Sep 17 00:00:00 2001 From: kreczko Date: Thu, 23 Jul 2026 16:37:54 +0100 Subject: [PATCH 2/2] build: update exampleSite to use "locale" instead of "languageCode" --- exampleSite/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index d8ec9622..aae50d17 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,5 +1,5 @@ baseURL: "https://example.com/" -languageCode: "en-us" +locale: "en-us" title: "Example Site" theme: scientific-python-hugo-theme relativeURLs: true