android.moparisthebest.org/.themes/classic/source/blog/archives.html
Brandon Mathis b9ad060b5d 1. Updated config so blog categories get ouput to /blog/categories
2. Increased default pagination to 10 posts per page
3. Explained email address for RSS feed better
2011-07-01 17:13:21 -04:00

18 lines
364 B
HTML

---
layout: post
title: Blog Archive
no_meta: true
---
<div class="blog-archives">
{% for post in site.posts reverse %}
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
{% unless year == this_year %}
{% assign year = this_year %}
<h2>{{ year }}</h2>
{% endunless %}
<article>
{% include archive_post.html %}
</article>
{% endfor %}
</div>