Skip to content

Fix deprecation warning (hugo 0.157.0)#460

Open
deining wants to merge 1 commit intodevcows:masterfrom
deining:fix-deprecation-warning
Open

Fix deprecation warning (hugo 0.157.0)#460
deining wants to merge 1 commit intodevcows:masterfrom
deining:fix-deprecation-warning

Conversation

@deining
Copy link
Copy Markdown
Contributor

@deining deining commented Mar 15, 2026

When running example site with latest hugo version 0.157.0, a deprecation warning is shown:

INFO  deprecated: .Site.Data was deprecated in Hugo v0.156.0 and will be removed in a future release.
Use hugo.Data instead.

This PR fixes this issue.

Note: This PR raises the minimum required hugo version to 0.156.0, so you may want to wait for a while until including this fix.

richtong added a commit to tne-ai/hugo-universal-theme that referenced this pull request Mar 30, 2026
Name the two upstream remotes and list what improvements come from each:
- original-upstream (devcows): base theme, PR devcows#460 pending for Site.Data fix
- lagobello-upstream (lagobello): SEO/tracking improvements, CSS fixes, JSON-LD

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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