aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/classic/source/index.html')
-rw-r--r--themes/classic/source/index.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/themes/classic/source/index.html b/themes/classic/source/index.html
index f151e06e..2ef9f8cf 100644
--- a/themes/classic/source/index.html
+++ b/themes/classic/source/index.html
@@ -9,4 +9,14 @@ blog_index: true
{% include article.html %}
</article>
{% endfor %}
-
+{% if site.disqus_short_name %}
+<script type="text/javascript">
+ var disqus_shortname = '{{ site.disqus_short_name }}';
+ (function () {
+ var s = document.createElement('script'); s.async = true;
+ s.type = 'text/javascript';
+ s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
+ (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
+ }());
+</script>
+{% endif %}