summaryrefslogtreecommitdiff
path: root/index.atom.erb
diff options
context:
space:
mode:
Diffstat (limited to 'index.atom.erb')
-rw-r--r--index.atom.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.atom.erb b/index.atom.erb
index 208e15d..a5e1586 100644
--- a/index.atom.erb
+++ b/index.atom.erb
@@ -5,7 +5,7 @@
<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.gitdate}.sort.last.rfc3339 %></updated>
+ <updated><%= @pages.map{|p|p.date}.sort.last.rfc3339 %></updated>
<author><%= Person.new("Luke Shumaker").atom %></author>
<id>https://lukeshu.com/blog/</id>
@@ -14,7 +14,7 @@
<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>
+ <updated><%= page.date.rfc3339 %></updated>
<published><%= page.date.rfc3339 %></published>
<title><%= page.title %></title>
<content type="html"><%= html_escape(page.content) %></content>