From 33f5969e0057f356286d29b29e491a6450a01459 Mon Sep 17 00:00:00 2001 From: John Benninghoff Date: Mon, 4 May 2026 11:29:14 -0500 Subject: [PATCH] fix: replace deprecated languageCode with locale languageCode deprecated in Hugo v0.158.0: https://gohugo.io/methods/site/language/ --- layouts/_default/baseof.html | 2 +- tests/exampleSiteWithImage/hugo.toml | 2 +- tests/exampleSiteWithVideo/hugo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 11fb01c..28a3e66 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{ partial "head" . }} diff --git a/tests/exampleSiteWithImage/hugo.toml b/tests/exampleSiteWithImage/hugo.toml index 3af6b08..4d051b9 100644 --- a/tests/exampleSiteWithImage/hugo.toml +++ b/tests/exampleSiteWithImage/hugo.toml @@ -1,6 +1,6 @@ # Site settings baseURL = "https://example.com" -languageCode = "en-US" +locale = "en-US" title = "Split - HTML Template Demo" theme = "hugo-split-theme" disableKinds = ["section", "taxonomy", "RSS", "sitemap"] diff --git a/tests/exampleSiteWithVideo/hugo.toml b/tests/exampleSiteWithVideo/hugo.toml index 45942a2..27f7085 100644 --- a/tests/exampleSiteWithVideo/hugo.toml +++ b/tests/exampleSiteWithVideo/hugo.toml @@ -1,6 +1,6 @@ # Site settings baseURL = "https://example.com" -languageCode = "en-US" +locale = "en-US" title = "Split - HTML Template Demo" theme = "hugo-split-theme" disableKinds = ["section", "taxonomy", "RSS", "sitemap"]