about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 14:31:36 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 14:31:36 -0400
commit9b8916a98054b65d4f3ede66e59cced879ccfad6 (patch)
tree3630ddfe3231fd975c076033e77e80af979faef5 /app
parentce2e4c010c68527f10e0c7b3df59f1c2f22ddc6f (diff)
downloadthoughts-9b8916a98054b65d4f3ede66e59cced879ccfad6.tar.gz
thoughts-9b8916a98054b65d4f3ede66e59cced879ccfad6.tar.bz2
thoughts-9b8916a98054b65d4f3ede66e59cced879ccfad6.zip
Correct atom publish dates
Diffstat (limited to 'app')
-rw-r--r--app/views/blogs/index.atom.builder2
1 files changed, 1 insertions, 1 deletions
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|
3 feed.updated(@blogs[0].published_at) if @blogs.length > 0 3 feed.updated(@blogs[0].published_at) if @blogs.length > 0
4 4
5 @blogs.each do |blog| 5 @blogs.each do |blog|
6 feed.entry(blog) do |entry| 6 feed.entry(blog, published: blog.published_at) do |entry|
7 entry.title(blog.title) 7 entry.title(blog.title)
8 entry.content(markdown(blog.body), type: 'html') 8 entry.content(markdown(blog.body), type: 'html')
9 9