From 75d4d72a1f5352d1c3520fbaf96911309fc7f96a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 27 Aug 2016 19:12:36 -0400 Subject: index.atom, also: write-atomic --- index.atom.erb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 index.atom.erb (limited to 'index.atom.erb') diff --git a/index.atom.erb b/index.atom.erb new file mode 100644 index 0000000..1784635 --- /dev/null +++ b/index.atom.erb @@ -0,0 +1,25 @@ + + + + Luke Shumaker's Web Log + + + + <%= @pages.map{|p|p.gitdate}.sort.last.rfc3339 %> + <%= Person.new("Luke Shumaker").atom %> + https://lukeshu.com/blog/ + + <% @pages.sort_by{|p| p.date}.reverse.each do |page| %> + + + + https://lukeshu.com/blog/<%= page.slug %>.html + <%= page.gitdate.rfc3339 %> + <%= page.date.rfc3339 %> + <%= page.title %> + <%= html_escape(page.content) %> + <%= page.author.atom %> + <%= html_escape(page.rights) %> + + <% end %> + -- cgit v1.2.3