android.moparisthebest.org/source/_layouts/category_index.html
2011-07-26 23:39:32 -04:00

18 lines
371 B
HTML

---
layout: page
footer: false
---
<div id="blog-archives" class="category">
{% for post in site.categories[page.category] %}
{% 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>