2011-06-07 20:12:46 +00:00
|
|
|
---
|
|
|
|
layout: default
|
2011-06-19 19:14:01 +00:00
|
|
|
blog_index: true
|
2011-06-07 20:12:46 +00:00
|
|
|
---
|
2011-07-12 23:40:57 +00:00
|
|
|
<div class="blog-index">
|
2011-06-07 20:12:46 +00:00
|
|
|
{% assign index = true %}
|
2011-06-27 19:59:21 +00:00
|
|
|
{% for post in paginator.posts %}
|
|
|
|
{% assign content = post.content %}
|
2011-06-07 20:12:46 +00:00
|
|
|
<article>
|
|
|
|
{% include article.html %}
|
|
|
|
</article>
|
|
|
|
{% endfor %}
|
2011-06-24 21:17:35 +00:00
|
|
|
<nav role="pagination">
|
2011-07-14 02:23:19 +00:00
|
|
|
<div>
|
|
|
|
{% if paginator.next_page %}
|
2011-07-16 18:52:50 +00:00
|
|
|
<a class="prev" href="{{ site.root }}/page{{paginator.next_page}}/">← Older</a>
|
2011-07-14 02:23:19 +00:00
|
|
|
{% endif %}
|
2011-07-16 18:52:50 +00:00
|
|
|
<a href="{{ site.root }}/blog/archives">Blog Archives</a>
|
2011-07-14 02:23:19 +00:00
|
|
|
{% if paginator.previous_page and paginator.previous_page > 1 %}
|
2011-07-16 18:52:50 +00:00
|
|
|
<a class="next" href="{{ site.root }}/page{{paginator.previous_page}}/">Newer →</a>
|
2011-07-14 02:23:19 +00:00
|
|
|
{% elsif paginator.previous_page %}
|
2011-07-16 18:52:50 +00:00
|
|
|
<a class="next" href="{{ site.root }}/">Newer →</a>
|
2011-07-14 02:23:19 +00:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
2011-06-24 21:17:35 +00:00
|
|
|
</nav>
|
2011-06-20 20:44:04 +00:00
|
|
|
{% 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 %}
|
2011-07-12 23:40:57 +00:00
|
|
|
</div>
|