.themes/classic/source/blog/archives.html
62c9780c
 ---
5d1d04c5
 layout: page
62c9780c
 title: Blog Archive
5d1d04c5
 no_footer: true
62c9780c
 ---
5d1d04c5
 
 <div id="blog-archives">
62c9780c
 {% 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>