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

fixes a page load error due to deprication of .SiteDisqusShortname #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

muncha
Copy link

@muncha muncha commented Sep 23, 2024

I'm trying out your theme and ran into the following error when I set draft to false:

ERROR deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.136.0. Use .Site.Config.Services.Disqus.Shortname instead.
Built in 27 ms
Error: error building site: logged 1 error(s)

I'm on the following version:
hugo v0.135.0-DEV-0ea796dad11e5d9f5b4c96a8e65f8272c9e4ccb5+extended

I don't see .Site.DisqusShortname used elsewhere, so it looks like this fixes it.

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