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 DisqusShortname deprecation error in Hugo newer than v0.120.0 #147

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Elizabeth-Hi
Copy link

Issue Description: While deploying with Hugo v0.133.1, I encountered the following deprecation error:

ERROR deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.134.0. Use .Site.Config.Services.Disqus.Shortname instead.

Modifications Made: update exampleSite/config.toml with .Site.Config.Services.Disqus.Shortname. This change will help users prevent the same issue from occurring in newer Hugo versions.

[services]
  [services.disqus]
    shortname = "example"

Copy link

netlify bot commented Sep 25, 2024

Deploy Preview for condescending-goldberg-725911 canceled.

Name Link
🔨 Latest commit c2d07d3
🔍 Latest deploy log https://app.netlify.com/sites/condescending-goldberg-725911/deploys/66f3cc354d2444000710fc01

@Elizabeth-Hi Elizabeth-Hi reopened this Sep 25, 2024
gosub pushed a commit to gosub/hugo-theme-cactus that referenced this pull request Dec 26, 2024
_internal/google_analytics_async.html has been deprecated.

Fixes issue: monkeyWzr#141
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