Closed tboquet closed 9 years ago
update:
I think the variable disqus_url
is not right?
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'blog'; // required: replace example with your forum shortname
var disqus_identifier = 'page';
var disqus_url = '/page.html';
var disqus_config = function () {
this.language = "en";
};
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
update: I had to declare the variable SITEURL in both pelicanconf.py and publishconf.py. I only had this variable set in publishconf.py.
Hi all,
I have set my
DISQUS_SITENAME = mysiteshortname
in my publishconf.py but they are not loading and I have the "We were unable to load Disqus. If you are a moderator please see our troubleshooting guide. " error. I think I have the correct configuration for the site in disqus and I see the js code generated in the webpage. Do you have any advice to debug this?Tx!