Replies: 1 comment 6 replies
-
I've dug into a bit of the code for embed.js. Looks like they have updated so as to specifically expect a variable called Under your section, add a new div with the id var disqus_config = function() {
this.page.identifier = '@Model.Destination.FileNameWithoutExtension.FullPath';
this.page.title = '@Model.GetTitle()';
this.page.url = '@Document.GetLink(true)';
// this.page.category_id = '';
}
var disqus_shortname = 'agdl-dev'; // required: replace example with your forum shortname It may be a good idea to put in a noscript tag at the bottom, just in case. <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript> After this, it should function well. I got an error from disqus, but I suspect it's because it's running from localhost and not your domain name. |
Beta Was this translation helpful? Give feedback.
-
Hello, the question is the title, how do I integrate Disqus into my Statiq blog ?
I've written the same code as yours (https://github.com/Inerska/inerska.github.io/blob/master/MyBlog/input/_partials/_post_prefooter.cshtml)
But I've also a JS error when I'm checking the console debugging part
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions