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 deprecated config params (GA, Disqus) #355

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Conversation

Vimux
Copy link
Owner

@Vimux Vimux commented Dec 12, 2023

As of Hugo 0.120.0, .Site.disqusShortname and .Site.googleAnalytics are deprecated. This PR fixes the problem.

Backward compatible change, new notation supported from Hugo v0.41:

  1. .Site.Config.Services.Disqus.Shortname falls back to .Site.disqusShortname
  2. .Site.Config.Services.GoogleAnalytics.ID falls back to .Site.googleAnalytics
As of Hugo 0.120.0, `.Site.disqusShortname` and `.Site.googleAnalytics` are deprecated. Backward
compatible change, new notation supported from Hugo v0.41. See
gohugoio/hugo@4ddcf52
@Vimux Vimux merged commit f6792da into master Dec 12, 2023
@Vimux Vimux deleted the fix-config-services-params branch December 12, 2023 16:33
nikolaswise pushed a commit to nikolaswise/Mainroad that referenced this pull request Dec 20, 2024
As of Hugo 0.120.0, `.Site.disqusShortname` and `.Site.googleAnalytics` are deprecated. Backward
compatible change, new notation supported from Hugo v0.41. See
gohugoio/hugo@4ddcf52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant