--- title: "<%= @title %>" class: "index" --- <% @sections.keys.sort.each do |path| %> <% unless path.empty? %>## [<%= @sections[path]['head'] %>](<%= path %>)<% end %> <% @sections[path]['body'].sort_by{|a|a.published}.reverse.each do |a| %> * class="external" <% end %>href="<%= @url.route_to(a.url) %>" title="Published on <%= a.published.strftime('%Y-%m-%d') %><% if a.updated != a.published %> (updated on<%= a.updated.strftime('%Y-%m-%d') %>)<% end %>"><%= a.title %><% a.tags.each do |t| %><%= t.html %><% end %><% end %> <% end %>