diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/index.md.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/index.md.erb b/bin/index.md.erb index f7a463b..621a323 100644 --- a/bin/index.md.erb +++ b/bin/index.md.erb @@ -1,6 +1,7 @@ --- title: "<%= @path %>" +class: "index" --- <% @pages.sort_by{|a|a.published}.reverse.each do |a| %> - * <time><%= a.published.strftime('%Y-%m-%d') %></time> - [<%= a.title %>](<%= a.url %>)<% if a.updated != a.published %> (last updated <time><%= a.updated.strftime('%Y-%m-%d') %></time>)<% end %> <% a.tags.each do |t| %><%= t.html %><% end %><% end %> + * <a href="<%= 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 %> |