.themes/classic/source/_layouts/category_index.html
87c9dc64
 ---
8b6d83ae
 layout: page
64b23d9f
 footer: false
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>