Browse Source

Try to unify disqus threads

Thomas Buck 9 years ago
parent
commit
974323ce58
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      page.html

+ 3
- 1
page.html View File

@@ -134,13 +134,15 @@
134 134
                 print '<div id="disqus_thread"></div>'
135 135
                 print '<script type="text/javascript">'
136 136
                 print 'var disqus_shortname = "xythobuz";'
137
+                print 'var disqus_identifier = "http://xythobuz.org/' + page["url"] + '";'
138
+                print 'var disqus_url = "http://xythobuz.org/' + page["url"] + '";'
137 139
                 print '(function() {'
138 140
                 print 'var dsq = document.createElement("script"); dsq.type = "text/javascript"; dsq.async  = true;'
139 141
                 print 'dsq.src = "http://" + disqus_shortname + ".disqus.com/embed.js";'
140 142
                 print '(document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]    ).appendChild(dsq);'
141 143
                 print '})();'
142 144
                 print '</script>'
143
-                print '<noscript>Please enable JavaScript to view the <a href="http://disqus.   com/?ref_noscript">comments powered by Disqus.</a></noscript>'
145
+                print '<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>'
144 146
                 print '<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>'
145 147
             elif page.get("comments", "false") != "false":
146 148
                 print '<p><a href="%s">Head over here to discuss this article!</a></p>' % page.get("comments", "false")

Loading…
Cancel
Save