From 5022d1a0df1534b1cbec1cbee23568f201ea1cc6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 9 Jan 2017 16:45:53 -0500 Subject: Implement actual file generation, go through fixing things. --- tmpl/index.atom.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tmpl/index.atom.erb') diff --git a/tmpl/index.atom.erb b/tmpl/index.atom.erb index 54e4b72..8719d05 100644 --- a/tmpl/index.atom.erb +++ b/tmpl/index.atom.erb @@ -1,12 +1,12 @@ - AndrewDM.me <%= @title %> + <%= atom_title %> - <%= @pages.map{|p|p.updated}.sort.last.rfc3339 %> - <%= Person.new("Andrew Murrell").atom %> - <%= $url %> + <%= index_pages_leaves.map{|p|p.atom_updated}.sort.last.to_datetime.rfc3339 %> + <%= Person.new(Config::get.default_author).atom %> + <%= url %> - <% @pages.sort_by{|p| p.updated}.reverse.each do |page| %><%=@page.atom %><% end %> + <% index_pages_leaves.sort_by{|p|p.atom_updated}.reverse.each do |page| %><%= page.atom %><% end %> -- cgit v1.2.3