Skip to content

Fix deprecation warning with latest hugo version 0.156.0#702

Open
deining wants to merge 1 commit intohugo-fixit:mainfrom
deining:fix-depreaction-warning
Open

Fix deprecation warning with latest hugo version 0.156.0#702
deining wants to merge 1 commit intohugo-fixit:mainfrom
deining:fix-depreaction-warning

Conversation

@deining
Copy link

@deining deining commented Feb 19, 2026

When running the theme with latest hugo version 0.156.0, deprecation warnings are shown:

INFO  deprecated: .Site.Sites and .Page.Sites was deprecated in Hugo v0.156.0 and will be removed in a future release. Use hugo.Sites instead.
INFO  deprecated: .Site.BuildDrafts 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 these issues.

@vercel
Copy link

vercel bot commented Feb 19, 2026

@deining is attempting to deploy a commit to the FixIt Team on Vercel.

A member of the Team first needs to authorize it.

@Lruihao Lruihao added this to the v0.4.3 milestone Feb 19, 2026
@Lruihao Lruihao added the hugo Related to hugo label Feb 19, 2026
@Lruihao Lruihao self-assigned this Feb 19, 2026
@github-project-automation github-project-automation bot moved this to In progress in Roadmap of FixIt Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hugo Related to hugo

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

2 participants

Comments