You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the Whiteplain Hugo theme, I encountered an error related to the deprecated DisqusShortname. This error prevents the Hugo site from building correctly.
Steps to Reproduce:
Create a Hugo site using the Whiteplain theme.
Run the following command:
hugo server --buildDraft
The site fails to build, and the following error message is seen.
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.
Built in 12 ms
Error: error building site: logged 1 error(s)
```
Expected Behavior:
The site should build successfully without any errors. The theme should use the updated property .Site.Config.Services.Disqus.Shortname instead of the deprecated .Site.DisqusShortname.
Environment:
Hugo Version: 0.134.0
OS: macOS
Proposed Solution:
Replace the deprecated .Site.DisqusShortname with .Site.Config.Services.Disqus.Shortname in the layouts/_default/single.html file.
@robotAstray
Thank you for your PR. Sorry for the late reply.
I would like to merge your PR, but I don't want to change the text color. Could you please revert style.css file change?
Description:
While using the Whiteplain Hugo theme, I encountered an error related to the deprecated
DisqusShortname
. This error prevents the Hugo site from building correctly.Steps to Reproduce:
Create a Hugo site using the Whiteplain theme.
Run the following command:
The site fails to build, and the following error message is seen.
Error:
Expected Behavior:
The site should build successfully without any errors. The theme should use the updated property
.Site.Config.Services.Disqus.Shortname
instead of the deprecated.Site.DisqusShortname
.Environment:
Proposed Solution:
Replace the deprecated
.Site.DisqusShortname
with.Site.Config.Services.Disqus.Shortname
in thelayouts/_default/single.html
file.Additional Context:
I have opened a PR to address this issue: #34
The text was updated successfully, but these errors were encountered: