Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warning caused by data.GetJSON #1625

Merged
merged 2 commits into from
Aug 10, 2024
Merged

Conversation

wtchangdm
Copy link
Contributor

@wtchangdm wtchangdm commented Jul 18, 2024

This PR fixes the following warning with data.GetJSON:

WARN  deprecated: data.GetJSON was deprecated in Hugo v0.123.0 and will be removed in a future release. use resources.Get or resources.GetRemote with transform.Unmarshal.

Also resolves #1626.

Ref: https://gohugo.io/functions/data/getjson/#remote-resource-alternative

@wtchangdm wtchangdm changed the base branch from main to dev July 18, 2024 15:36
@wtchangdm wtchangdm changed the title Fix warning caused by data.getJSON Fix warning caused by data.GetJSON Jul 18, 2024
@nunocoracao nunocoracao merged commit bb6f8ba into nunocoracao:dev Aug 10, 2024
2 checks passed
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