hugo-curious
hugo-curious copied to clipboard
Unable to revert to Disqus comments
I have checked all the prerequisites below and I'm yet experiencing a problem
- [ X] Read the README.md
- [ X] Have the extended version of Hugo installed
- [ X] Used the exampleSite's config.toml as a reference
Describe the bug
The talkyard.net is paid service whereas the default Disqus is free. On my blog site, I want to revert back to Disqus. I commented the talkyard specific bits of code, but unable to load Disqus. I specifically did the following:
- variables in config.toml
- commented code in comments.html partial and replaced with `{{ template "_internal/disqus.html" . }}
- added disqusShortname variable to config.toml
Desktop (please complete the following information):
- OS: macOS
- Browser Firefox, Chrome, Safari
Please let me know if any other setting needs to be changed to revert to disqus.
Hello, this file includes comments.html only when .Site.Params.comment is not false and .Params.comment is not false 2 more variables (*.comments):
https://github.com/vietanhdev/hugo-curious/blob/master/layouts/_default/single.html#L28-L30
Please check and set param comment to true, or remove the if statement on your theme.