Skip to content

fix: update deprecated Hugo language fields#200

Open
MrCroxx wants to merge 1 commit into
tomfran:mainfrom
MrCroxx:codex/fix-hugo-language-deprecations
Open

fix: update deprecated Hugo language fields#200
MrCroxx wants to merge 1 commit into
tomfran:mainfrom
MrCroxx:codex/fix-hugo-language-deprecations

Conversation

@MrCroxx

@MrCroxx MrCroxx commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace deprecated Hugo language fields with locale, .Language.Locale, and .Language.Direction.
  • Update the sample config to match the new key.

Compatibility

This raises the declared minimum Hugo version from 0.116.0 to 0.158.0. Hugo currently warns on the old fields, and a future release may remove them.

Test

  • hugo v0.163.3 --gc --minify --panicOnWarning --baseURL "http://example.com/"
  • make format-check

Signed-off-by: MrCroxx <mrcroxx.cs@gmail.com>
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