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) #89

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

Vimux
Copy link
Owner

@Vimux Vimux commented Dec 9, 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 2558f6b into master Dec 9, 2023
10 checks passed
@Vimux Vimux deleted the fix-config-services-params branch December 9, 2023 19:04
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