aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-11-01 17:29:29 +0100
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-11-01 17:29:29 +0100
commit262eb52bc58df8459ecf87d81627162bd7c3bc65 (patch)
treec8271e2764205c7dfbdba79fffa16f8a96e408a5
parent029fa9bf31b998e6f85b299ea284a4c070569dad (diff)
downloadmy_new_personal_website-262eb52bc58df8459ecf87d81627162bd7c3bc65.tar.xz
my_new_personal_website-262eb52bc58df8459ecf87d81627162bd7c3bc65.zip
Reverted commit 514e848 (issue #236), should fix Disqus identifier issues.
See also: https://github.com/imathis/octopress/wiki/Disqus-identifier-issues
-rw-r--r--.themes/classic/source/_includes/disqus.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/.themes/classic/source/_includes/disqus.html b/.themes/classic/source/_includes/disqus.html
index b4ee5c64..eb308779 100644
--- a/.themes/classic/source/_includes/disqus.html
+++ b/.themes/classic/source/_includes/disqus.html
@@ -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 %}