.post.maintoc
%h2<>
TABLE
%em<> of
CONTENTS
.regular
- posts = @items.select { |i| i[:kind] == "article" or i[:kind] == "quote" }.sort! { |a, b| b[:date_obj] <=> a[:date_obj] }
- posts.group_by{|p| p[:date_obj].year }.each do |year, essays|
%h3= RomanNumerals.to_roman(year)
%ol
- essays.each do |e|
%li
%a{'href' => e.path}<
= e[:title]
%em.date
–
= e[:date_obj].strftime "%b %e"