diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-31 22:48:59 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-12-31 22:48:59 -0700 |
commit | b864379651d4bfe3d05f98350b720794ffa2806a (patch) | |
tree | c4bc81a8371694d661b10118b4932480aaa37d0b /bin/index.md.erb | |
parent | 7445ea9d56071cfca247689e22c6fded65c3f968 (diff) |
more
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 %> |