From 672a624fa5345fbb2d7b8ea8e1ce2f19679608bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 13 Sep 2026 21:30:40 +0200 Subject: [PATCH] fix: replace deprecated languageCode/Site.LanguageCode with locale Hugo v0.158.0 deprecated both in favor of the locale config key and .Site.Language.Locale, matching pivoine.art's config. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01S3xLyuoN6uzfCYBo8kVoSn --- hugo.toml | 2 +- layouts/_default/baseof.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hugo.toml b/hugo.toml index 955573a..252483a 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,5 +1,5 @@ baseURL = "https://bar.pivoine.art/" -languageCode = "en-us" +locale = "en-US" title = "Bar Pivoine" copyright = "© 2026 Bar Pivoine" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index b436470..da91e00 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{- partial "head.html" . -}}