summaryrefslogtreecommitdiff
path: root/index.atom.erb
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-08-27 19:25:37 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-08-27 19:25:37 -0400
commit0cc1755f3d920b415fa473a7f07466b4d134e98c (patch)
treed423555413533509d6c32ffdb4d29f85d0644145 /index.atom.erb
parent75d4d72a1f5352d1c3520fbaf96911309fc7f96a (diff)
tidy atom stuff
Diffstat (limited to 'index.atom.erb')
-rw-r--r--index.atom.erb9
1 files changed, 4 insertions, 5 deletions
diff --git a/index.atom.erb b/index.atom.erb
index 1784635..ea5f1ef 100644
--- a/index.atom.erb
+++ b/index.atom.erb
@@ -2,17 +2,16 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Luke Shumaker's Web Log</title>
- <link rel="self" type="application/atom+xml" href="/blog/index.atom"/>
- <link rel="alternate" type="text/markdown" href="/blog/index.md"/>
- <link rel="alternate" type="text/html" href="/blog"/>
+ <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="./"/>
<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/markdown" href="/blog/<%= page.slug %>.md"/>
- <link rel="alternate" type="text/html" href="/blog/<%= page.slug %>.html"/>
+ <link rel="alternate" type="text/html" href="./<%= page.slug %>.html"/>
<id>https://lukeshu.com/blog/<%= page.slug %>.html</id>
<updated><%= page.gitdate.rfc3339 %></updated>
<published><%= page.date.rfc3339 %></published>