diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-03 19:18:51 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-03 19:18:51 -0500 |
commit | d197b659ea9c9d284086686555c1227116c9c4b1 (patch) | |
tree | ef02e97529b4115f5e12abea1f1726799efa821d /bin | |
parent | 4e1129f36187897e2154edbe4c68f5e0e0c21a5e (diff) |
change index style
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 %> |