Skip to content

Fix deprecation warning when running with latest hugo version 0.156.0#2578

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

Fix deprecation warning when running with latest hugo version 0.156.0#2578
deining wants to merge 1 commit intogoogle:mainfrom
deining:fix-deprecation-warning

Conversation

@deining
Copy link
Contributor

@deining deining commented Feb 18, 2026

When running dosy.dev site with latest released hugo version 0.156.0, a deprecation warning is printed out:

INFO  deprecated: .Site.Languages was deprecated in Hugo v0.156.0
and will be removed in a future release.
See https://discourse.gohugo.io/t/56732.

This PR fixes this issue.

Copy link
Collaborator

@chalin chalin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'll take a closer look at the code changes as soon as I can. In the meantime, I've simply updated Hugo versions via #2585 (FYI).

@chalin chalin force-pushed the fix-deprecation-warning branch from d749a7d to f3c2027 Compare March 1, 2026 00:10
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.

2 participants