Skip to content

Fix deprecation warnings emitted from hugo 0.158.0#430

Open
deining wants to merge 1 commit intogoogle:mainfrom
deining:fix-deprecation
Open

Fix deprecation warnings emitted from hugo 0.158.0#430
deining wants to merge 1 commit intogoogle:mainfrom
deining:fix-deprecation

Conversation

@deining
Copy link
Contributor

@deining deining commented Mar 17, 2026

When running the site with latest released hugo version 0.158.0, deprecation warnings are printed out:

INFO  deprecated: project config key languages.en.languageName was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.en.label instead.
INFO  deprecated: project config key languages.no.languageName was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.no.label instead.
INFO  deprecated: project config key languages.fa.languageName was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.fa.label instead.
INFO  deprecated: project config key languages.fa.languageDirection was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.fa.direction instead.
INFO  deprecated: project config key languages.no.languageName was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.no.label instead.
INFO  deprecated: project config key languages.fa.languageName was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.fa.label instead.
INFO  deprecated: project config key languages.fa.languageDirection was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.fa.direction instead.
INFO  deprecated: project config key languages.en.languageName was deprecated in Hugo v0.158.0 and will be removed in a future release. Use languages.en.label instead.

See: https://discourse.gohugo.io/t/deprecations-in-v0-158-0/56869

This PR fixes these warnings.

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