HUGO

Cupper-hugo-theme and disqus comments

@zwbetz Hello!
I really like your theme. But help me connect the disqus comments to it. There is now an error: Disqus comments are disabled.
Thank you
Petr.

Hi there.

Have you set disqusShortname in your config file?

Also, disqus comments are disabled when running hugo server. They will only appear on your live site.

You can temporarily override this by changing this line https://github.com/zwbetz-gh/cupper-hugo-theme/blob/eec634badd668dd8b9f1cc93c18ece1e4c61ae27/layouts/partials/disqus.html#L7
And replace $isServer with false

Thank you! it works :slight_smile:

1 Like