fix: replace deprecated languageCode/.Site.LanguageCode with locale

Hugo v0.158.0 deprecated the languageCode config key and
.Site.LanguageCode in favor of locale and .Site.Language.Locale.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012E2mmywuZyXmPBgSDtNdTL
This commit is contained in:
valknarandClaude Sonnet 5 committed 2026-09-13 17:57:30 +02:00
1 parent bbfba94454
commit ad6b6b2834
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="{{ .Site.LanguageCode }}" class="scroll-smooth">
<html lang="{{ .Site.Language.Locale }}" class="scroll-smooth">
<head>
{{- partial "head.html" . -}}
</head>