Refactored inclusion of disqus script

- Added ARIA setting `aria-live="polite"` to comment output
- Removed duplicate <div id="disqus_thread"> from page/post templates
- Moved blocking JavaScript loading to the end of the document body.
- Merged JavaScript code for index and pages/posts using conditionals
- Moved global JavaScript disqus variables into the anonymous function to stop pollution of global namespace
This commit is contained in:
Frederic Hemberger
2011-09-21 13:37:59 +02:00
parent b2828eb039
commit 2a30d9a1eb
6 changed files with 44 additions and 44 deletions

View File

@ -9,6 +9,7 @@
</div>
</div>
<footer>{% include footer.html %}</footer>
{% include disqus.html %}
{% include google_analytics.html %}
{% include google_plus_one.html %}
{% include twitter_sharing.html %}