blob: 34f8677853746a15bc033591a3510d375e1bd281 (
plain)
1
2
3
4
5
6
7
|
---
title: "<%= @title %>"
class: "index"
---
<% @pages.sort_by{|a|a.published}.reverse.each do |a| %>
* <a 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><span><% a.tags.each do |t| %><%= t.html %><% end %></span><% end %>
|