.themes/classic/source/_layouts/category_index.html
87c9dc64
 ---
8b6d83ae
 layout: page
 no_footer: true
87c9dc64
 ---
 
8b6d83ae
 <div id="blog-archives" class="category">
87c9dc64
 {% for post in site.categories[page.category] %}
8b6d83ae
 {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
 {% unless year == this_year %}
   {% assign year = this_year %}
   <h2>{{ year }}</h2>
 {% endunless %}
87c9dc64
 <article>
   {% include archive_post.html %}
 </article>
 {% endfor %}
 </div>