Skip to content

Fix deprecation warnings#65

Open
deining wants to merge 1 commit intoroninro:masterfrom
deining:fix-deprecation-warnings
Open

Fix deprecation warnings#65
deining wants to merge 1 commit intoroninro:masterfrom
deining:fix-deprecation-warnings

Conversation

@deining
Copy link
Contributor

@deining deining commented Mar 21, 2024

When running with latest hugo version 0.124.1, deprecating warnings are printed out:

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.
INFO  deprecated: .Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in a future release. Use hugo.IsServer instead.

This PR fixes these issues.

@netlify
Copy link

netlify bot commented Mar 21, 2024

Deploy Preview for hugo-theme-puppet ready!

Name Link
🔨 Latest commit c610409
🔍 Latest deploy log https://app.netlify.com/sites/hugo-theme-puppet/deploys/65fc9c1a19580f00089c2303
😎 Deploy Preview https://deploy-preview-65--hugo-theme-puppet.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.

@zhenda-hub
Copy link

why not merge?

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