diff options
Diffstat (limited to 'bin/index.md.erb')
-rw-r--r-- | bin/index.md.erb | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/bin/index.md.erb b/bin/index.md.erb index 4da9a5d..392447e 100644 --- a/bin/index.md.erb +++ b/bin/index.md.erb @@ -1,13 +1,6 @@ -Web log entries -=============== -<style> -li { - list-style-type: none; -} -time { - color: #AAAAAA; - font-family: monospace; -} -</style> -<% @pages.sort_by{|p| p.date}.reverse.each do |a| %> - * <time><%= a.date.strftime('%Y-%m-%d') %></time> - [<%= a.title %>](./<%= a.slug %>.html)<% end %> +--- +title: "<%= @path %>" +--- + +<% @pages.sort_by{|a|a.published}.each do |a| %> + * <time><%= a.published.strftime('%Y-%m-%d') %></time> - [<%= a.title %>](./<%= a.slug %>.html) (last updated <time><%= a.updated.strftime('%Y-%m-%d') %></time>)<% end %> |