Skip to content

Changed template strings due to deprecation#8

Open
mfpx wants to merge 1 commit into
danapixels:mainfrom
mfpx:main
Open

Changed template strings due to deprecation#8
mfpx wants to merge 1 commit into
danapixels:mainfrom
mfpx:main

Conversation

@mfpx

@mfpx mfpx commented May 27, 2026

Copy link
Copy Markdown

Changed

Updated layouts/baseof.html to replace deprecated Hugo language variables:

  • .Language.LanguageCode -> .Language.Locale
  • .Language.LanguageDirection -> .Language.Direction

Rationale

These variables were deprecated in Hugo v0.158.0 and are expected to be removed in a future release. This keeps the theme compatible with newer Hugo versions and removes deprecation warnings during builds.

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