See also: https://github.com/imathis/octopress/wiki/Disqus-identifier-issues
| ... | ... |
@@ -5,8 +5,8 @@ |
| 5 | 5 |
{% if page.comments == true %}
|
| 6 | 6 |
{% comment %} `page.comments` can be only be set to true on pages/posts, so we embed the comments here. {% endcomment %}
|
| 7 | 7 |
// var disqus_developer = 1; |
| 8 |
- var disqus_identifier = '{{ canonical }}';
|
|
| 9 |
- var disqus_url = '{{ canonical }}';
|
|
| 8 |
+ var disqus_identifier = '{{ site.url }}{{ page.url }}';
|
|
| 9 |
+ var disqus_url = '{{ site.url }}{{ page.url }}';
|
|
| 10 | 10 |
var disqus_script = 'embed.js'; |
| 11 | 11 |
{% else %}
|
| 12 | 12 |
{% comment %} As `page.comments` is empty, we must be on the index page. {% endcomment %}
|