diff options
-rw-r--r-- | app/views/blogs/index.atom.builder | 2 |
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 | ||