Skip to content
New issue

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

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

Already on GitHub? # to your account

fix error: Use .Site.Config.Services.GoogleAnalytics.ID instead. #3138

Closed
wants to merge 1 commit into from

Conversation

fi6
Copy link

@fi6 fi6 commented Aug 21, 2024

Purpose

Fix for hugo 0.133.0+ error

ERROR deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.134.0. Use .Site.Config.Services.GoogleAnalytics.ID instead.

Copy link

netlify bot commented Aug 21, 2024

Deploy Preview for academic-demo canceled.

Name Link
🔨 Latest commit eb6bff7
🔍 Latest deploy log https://app.netlify.com/sites/academic-demo/deploys/66c5995a49ab370008897f59

@gcushen
Copy link
Collaborator

gcushen commented Sep 1, 2024

Closing as a previous PR in #3137 was already made to support this breaking change in Hugo.

@gcushen gcushen closed this Sep 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants