Hugo: I’m receiving the message “We were unable to load Disqus.”


If you find this free website useful – why don’t you support this with a donation? It is easy…. read more ….

When building a Hugo site you may well get  the message “I’m receiving the message “We were unable to load Disqus.” ”

It took me a while to trouble shoot on mine.

Basically Hugo them developers have a habit of setting the baseurl in the config.toml as “/”

Your site will seem to work – but Disqus javascript needs the full url

So if you get the message from Disqus on your Hugo site saying it can load – set your baseurl  to a the full domain e.g. https://example.com  and clear your browser cache and try again.

The clue to the solution is at the very end of the Disqus help page https://help.disqus.com/customer/portal/articles/472007-i-m-receiving-the-message-%22we-were-unable-to-load-disqus-%22

 

, ,

Leave a Reply

Your email address will not be published.