mirror of
https://github.com/moparisthebest/www.moparscape.org
synced 2024-11-11 20:05:06 -05:00
2a30d9a1eb
- 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
36 lines
863 B
HTML
36 lines
863 B
HTML
---
|
|
layout: default
|
|
single: true
|
|
---
|
|
|
|
<div>
|
|
<article class="hentry">
|
|
{% include article.html %}
|
|
<footer>
|
|
<p class="meta">
|
|
{% include post/author.html %}
|
|
{% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %}
|
|
{% include post/categories.html %}
|
|
</p>
|
|
{% unless page.sharing == false %}
|
|
{% include post/sharing.html %}
|
|
{% endunless %}
|
|
</footer>
|
|
</article>
|
|
{% if site.disqus_short_name and page.comments == true %}
|
|
<section>
|
|
<h1>Comments</h1>
|
|
<div id="disqus_thread" aria-live="polite">{% include post/disqus_thread.html %}</div>
|
|
</section>
|
|
{% endif %}
|
|
</div>
|
|
{% unless page.sidebar == false %}
|
|
<aside role=sidebar>
|
|
{% if site.post_asides.size %}
|
|
{% include_array post_asides %}
|
|
{% else %}
|
|
{% include_array default_asides %}
|
|
{% endif %}
|
|
</aside>
|
|
{% endunless %}
|