summaryrefslogtreecommitdiff
path: root/tmpl/index.atom.erb
blob: 54e4b72e56eeccc8e21c31b7483579e1c9100207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<feed xmlns="http://www.w3.org/2005/Atom">

	<title>AndrewDM.me <%= @title %></title>
	<link rel="self"      type="application/atom+xml" href="./index.atom"/>
	<link rel="alternate" type="text/html"            href="./"/>
	<link rel="alternate" type="text/markdown"        href="./index.md"/>
	<updated><%= @pages.map{|p|p.updated}.sort.last.rfc3339 %></updated>
	<author><%= Person.new("Andrew Murrell").atom %></author>
	<id><%= $url %></id>

	<% @pages.sort_by{|p| p.updated}.reverse.each do |page| %><%=@page.atom %><% end %>
</feed>