aboutsummaryrefslogtreecommitdiff
path: root/themes/classic/source/index.html
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-06-20 16:44:04 -0400
committerBrandon Mathis <brandon@imathis.com>2011-06-20 16:44:04 -0400
commit5d61b463580584755bc6a45ac3212b3b08409dda (patch)
tree9e112de3ce71622e339f497a76ff8c606551cafd /themes/classic/source/index.html
parentf77db80077d739077becc1618b87818ea42f145c (diff)
downloadmy_new_personal_website-5d61b463580584755bc6a45ac3212b3b08409dda.tar.xz
my_new_personal_website-5d61b463580584755bc6a45ac3212b3b08409dda.zip
1. Updated readme
2. Improved blog typography 3. Improved support for Disqus 4. Removed unnecessary page layout
Diffstat (limited to '')
-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 %}