--- layout: page ---
<% var years = {}; site.posts.sort('date').reverse().forEach(function(post){ var year = post.date.year() if(years[year]===undefined){ years[year] = []; } years[year].push(post); }); %> <% Object.keys(years).reverse().forEach(function(year){ %>
<%= year %>
<% }) %>