Commit 778f6e87 authored by Phil Hughes's avatar Phil Hughes

Changed atom feed updated date

Closes #634
parent f3d64290
Pipeline #1772529 passed with stage
......@@ -13,7 +13,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.link "rel" => "alternate", "href" => URI.join(site_url, article.url)
xml.id URI.join(site_url, article.url)
xml.published article.date.to_time.iso8601
xml.updated File.mtime(article.source_file).iso8601
xml.updated article.date.to_time.iso8601
xml.author { xml.name article.data.author }
xml.content "type" => "html" do
xml << xml_feed_content(article)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment