]> git.draconx.ca Git - homepage.git/blobdiff - layouts/default.xml
Fix display of updated date.
[homepage.git] / layouts / default.xml
index 11aeec1e955d0a273d856a37d8d45b67b03eb48f..2f78b3d8481e3805fddaead2dd771b1da5ff39e1 100644 (file)
@@ -64,6 +64,8 @@ end %>
 %>  <article>
 <%= attribute_to_time(@item[:published]).strftime \
 "    <published>%Y-%m-%d</published>\n" if @item[:published]
+%><%= attribute_to_time(@item[:updated]).strftime \
+"    <updated>%Y-%m-%d</updated>\n" if @item[:updated]
 %>  </article>
 <% end
 %>  <html xmlns="<%= Xmlns['xhtml'] %>" id="<%=