See also: https://github.com/imathis/octopress/wiki/Disqus-identifier-issues
This commit is contained in:
parent
029fa9bf31
commit
262eb52bc5
@ -5,8 +5,8 @@
|
||||
{% if page.comments == true %}
|
||||
{% comment %} `page.comments` can be only be set to true on pages/posts, so we embed the comments here. {% endcomment %}
|
||||
// var disqus_developer = 1;
|
||||
var disqus_identifier = '{{ canonical }}';
|
||||
var disqus_url = '{{ canonical }}';
|
||||
var disqus_identifier = '{{ site.url }}{{ page.url }}';
|
||||
var disqus_url = '{{ site.url }}{{ page.url }}';
|
||||
var disqus_script = 'embed.js';
|
||||
{% else %}
|
||||
{% comment %} As `page.comments` is empty, we must be on the index page. {% endcomment %}
|
||||
|
Loading…
Reference in New Issue
Block a user