summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 19:18:51 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 19:18:51 -0500
commitd197b659ea9c9d284086686555c1227116c9c4b1 (patch)
treeef02e97529b4115f5e12abea1f1726799efa821d /bin
parent4e1129f36187897e2154edbe4c68f5e0e0c21a5e (diff)
change index style
Diffstat (limited to 'bin')
-rw-r--r--bin/index.md.erb3
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 %>