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

See also: https://github.com/imathis/octopress/wiki/Disqus-identifier-issues
This commit is contained in:
Frederic Hemberger 2011-11-01 17:29:29 +01:00
parent 029fa9bf31
commit 262eb52bc5

View File

@ -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 %}