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 deprecation warning emitted by hugo #904

Merged
merged 2 commits into from
Mar 19, 2024

Conversation

deining
Copy link
Contributor

@deining deining commented Mar 11, 2024

When previewing the example site with latest hugo version v0.123.8, the following warnings are written to output:

INFO  deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in a future release. Use .Site.Config.Services.GoogleAnalytics.ID instead.
INFO  deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in a future release. Use .Site.Config.Services.Disqus.Shortname instead.

This PR fixes these issues.

Closes #856

Copy link

netlify bot commented Mar 11, 2024

Deploy Preview for toha-ci ready!

Name Link
🔨 Latest commit c6e6135
🔍 Latest deploy log https://app.netlify.com/sites/toha-ci/deploys/65f9bc74207d3d00088bddbb
😎 Deploy Preview https://deploy-preview-904--toha-ci.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@hossainemruz hossainemruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @deining

@hossainemruz hossainemruz merged commit a69388d into hugo-toha:main Mar 19, 2024
9 of 11 checks passed
@hossainemruz hossainemruz added the enhancement New feature or request label Mar 19, 2024
@deining deining deleted the fix-deprecation-warning branch March 19, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants