mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 08:58:58 -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
32 lines
774 B
HTML
32 lines
774 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<div class="blog-index">
|
|
{% assign index = true %}
|
|
{% for post in paginator.posts %}
|
|
{% assign content = post.content %}
|
|
<article>
|
|
{% include article.html %}
|
|
</article>
|
|
{% endfor %}
|
|
<nav role="pagination">
|
|
<div>
|
|
{% if paginator.next_page %}
|
|
<a class="prev" href="{{paginator.next_page}}">← Older</a>
|
|
{% endif %}
|
|
<a href="/blog/archives">Blog Archives</a>
|
|
{% if paginator.previous_page %}
|
|
<a class="next" href="{{paginator.previous_page}}">Newer →</a>
|
|
{% endif %}
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
<aside role=sidebar>
|
|
{% if site.blog_index_asides.size %}
|
|
{% include_array blog_index_asides %}
|
|
{% else %}
|
|
{% include_array default_asides %}
|
|
{% endif %}
|
|
</aside>
|