diff options
Diffstat (limited to '.themes/classic/source/index.html')
| -rw-r--r-- | .themes/classic/source/index.html | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html index e7e96956..a114e5a8 100644 --- a/.themes/classic/source/index.html +++ b/.themes/classic/source/index.html @@ -3,15 +3,14 @@ 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> + {% assign index = true %} + {% for post in paginator.posts %} + {% assign content = post.content %} + <article> + {% include article.html %} + </article> + {% endfor %} + <div class="pagination"> {% if paginator.next_page %} <a class="prev" href="{{paginator.next_page}}">← Older</a> {% endif %} @@ -20,20 +19,8 @@ layout: default <a class="next" href="{{paginator.previous_page}}">Newer →</a> {% endif %} </div> -</nav> -{% 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 %} </div> -<aside role=sidebar> +<aside class="sidebar"> {% if site.blog_index_asides.size %} {% include_array blog_index_asides %} {% else %} |
