From 9b8916a98054b65d4f3ede66e59cced879ccfad6 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 11 Oct 2023 14:31:36 -0400 Subject: Correct atom publish dates --- app/views/blogs/index.atom.builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/blogs/index.atom.builder b/app/views/blogs/index.atom.builder index e74ef3c..72deba2 100644 --- a/app/views/blogs/index.atom.builder +++ b/app/views/blogs/index.atom.builder @@ -3,7 +3,7 @@ atom_feed do |feed| feed.updated(@blogs[0].published_at) if @blogs.length > 0 @blogs.each do |blog| - feed.entry(blog) do |entry| + feed.entry(blog, published: blog.published_at) do |entry| entry.title(blog.title) entry.content(markdown(blog.body), type: 'html') -- cgit 1.4.1