summaryrefslogtreecommitdiff
path: root/index.atom.erb
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-09-03 15:41:14 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-09-03 15:41:14 -0400
commit5017c1e252b72c11db5564df6c0d78e163e01156 (patch)
treec779231810d37657d25dacb4731a9dc90aafab15 /index.atom.erb
parentc8e571ba1c802ddc2722690e48ecbc6ac9fa75f1 (diff)
tweak the atom template
Diffstat (limited to 'index.atom.erb')
-rw-r--r--index.atom.erb5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.atom.erb b/index.atom.erb
index ea5f1ef..208e15d 100644
--- a/index.atom.erb
+++ b/index.atom.erb
@@ -3,15 +3,16 @@
<title>Luke Shumaker's Web Log</title>
<link rel="self" type="application/atom+xml" href="./index.atom"/>
- <link rel="alternate" type="text/markdown" href="./index.md"/>
<link rel="alternate" type="text/html" href="./"/>
+ <link rel="alternate" type="text/markdown" href="./index.md"/>
<updated><%= @pages.map{|p|p.gitdate}.sort.last.rfc3339 %></updated>
<author><%= Person.new("Luke Shumaker").atom %></author>
<id>https://lukeshu.com/blog/</id>
<% @pages.sort_by{|p| p.date}.reverse.each do |page| %>
<entry xmlns="http://www.w3.org/2005/Atom">
- <link rel="alternate" type="text/html" href="./<%= page.slug %>.html"/>
+ <link rel="alternate" type="text/html" href="./<%= page.slug %>.html"/>
+ <link rel="alternate" type="text/markdown" href="./<%= page.slug %>.md"/>
<id>https://lukeshu.com/blog/<%= page.slug %>.html</id>
<updated><%= page.gitdate.rfc3339 %></updated>
<published><%= page.date.rfc3339 %></published>