Skip to content

fix: breaking change LanguageCode → Locale#10

Open
cheesi wants to merge 1 commit into
privatemaker:mainfrom
cheesi:fix/build-warnings
Open

fix: breaking change LanguageCode → Locale#10
cheesi wants to merge 1 commit into
privatemaker:mainfrom
cheesi:fix/build-warnings

Conversation

@cheesi
Copy link
Copy Markdown

@cheesi cheesi commented May 9, 2026

LanguageCode was deprecated with Hugo v0.158.0, see https://discourse.gohugo.io/t/deprecations-in-v0-158-0/56869

This results into build warnings:

WARN  deprecated: .Language.LanguageCode was deprecated in Hugo v0.158.0 and will be removed in a future release. Use .Language.Locale instead.

This PR fixes those build warnings by switching to the new template methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant