summaryrefslogtreecommitdiff
path: root/bin/index.md.erb
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-02 17:01:47 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-02 17:01:47 -0500
commit2c415a62e2579813278766e5903d347bf400e6f2 (patch)
treea848893e952904dbda5a90fc5b9a964a40f2e755 /bin/index.md.erb
parent3c80bf7cc1bd61f8c9edf4806f1e57611ba29fdd (diff)
better tags
Diffstat (limited to 'bin/index.md.erb')
-rw-r--r--bin/index.md.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/index.md.erb b/bin/index.md.erb
index a9419ba..f7a463b 100644
--- a/bin/index.md.erb
+++ b/bin/index.md.erb
@@ -3,4 +3,4 @@ title: "<%= @path %>"
---
<% @pages.sort_by{|a|a.published}.reverse.each do |a| %>
- * <time><%= a.published.strftime('%Y-%m-%d') %></time> - [<%= a.title %>](<%= a.url %>) (last updated <time><%= a.updated.strftime('%Y-%m-%d') %></time>)<% end %>
+ * <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 %>