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

	<title><%= atom_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><%= index_pages_leaves.map{|p|p.atom_updated}.sort.last.to_datetime.rfc3339 %></updated>
	<author><%= atom_author.atom %></author>
	<id><%= url %></id>

	<% index_pages_leaves.sort_by{|p|p.atom_updated}.reverse.each do |page| %><%= page.atom %><% end %>
</feed>