diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-04-17 22:49:30 -0500 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-04-17 22:49:30 -0500 |
commit | e4c2d5790bac6a74037638fde049c374fc44cc7b (patch) | |
tree | 83f5e5b7324fcb5951d755442e2e601a3eaed35a /source/_includes/disqus_hook.haml | |
parent | 4db81a9e51e452495a06ad8c57ac4ac689a9ff34 (diff) | |
download | my_new_personal_website-e4c2d5790bac6a74037638fde049c374fc44cc7b.tar.xz my_new_personal_website-e4c2d5790bac6a74037638fde049c374fc44cc7b.zip |
irrisponsibly massive commit
Diffstat (limited to 'source/_includes/disqus_hook.haml')
-rw-r--r-- | source/_includes/disqus_hook.haml | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/_includes/disqus_hook.haml b/source/_includes/disqus_hook.haml deleted file mode 100644 index 60e2d3d9..00000000 --- a/source/_includes/disqus_hook.haml +++ /dev/null @@ -1,11 +0,0 @@ -:javascript - (function() { - var links = document.getElementsByTagName('a'); - var query = '?'; - for(var i = 0; i < links.length; i++) { - if(links[i].href.indexOf('#disqus_thread') >= 0) { - query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&'; - } - } - document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/#{page.disqus_short_name}/get_num_replies.js' + query + '"></' + 'script>'); - })();
\ No newline at end of file |