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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S3xLyuoN6uzfCYBo8kVoSn
This commit is contained in:
2026-09-13 21:30:40 +02:00
co-authored by Claude Sonnet 5
parent 3166caf6a1
commit 672a624fa5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
baseURL = "https://bar.pivoine.art/" baseURL = "https://bar.pivoine.art/"
languageCode = "en-us" locale = "en-US"
title = "Bar Pivoine" title = "Bar Pivoine"
copyright = "© 2026 Bar Pivoine" copyright = "© 2026 Bar Pivoine"
+1 -1
View File
@@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="{{ .Site.LanguageCode }}" class="scroll-smooth"> <html lang="{{ .Site.Language.Locale }}" class="scroll-smooth">
<head> <head>
{{- partial "head.html" . -}} {{- partial "head.html" . -}}
</head> </head>