Browse code

Reverted commit 514e848 (issue #236), should fix Disqus identifier issues.

See also: https://github.com/imathis/octopress/wiki/Disqus-identifier-issues

Frederic Hemberger authored on 01/11/2011 at 16:29:29
Showing 1 changed files
... ...
@@ -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 %}