summaryrefslogtreecommitdiff
path: root/bin/index.md.erb
diff options
context:
space:
mode:
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 %>