From eaa9e631550df4d590b5be1da98c51be430d7a0d Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Wed, 11 Oct 2023 13:33:22 -0400 Subject: Atom feed needs to be markdown'd --- app/views/blogs/index.atom.builder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/blogs/index.atom.builder b/app/views/blogs/index.atom.builder index dd498c8..e74ef3c 100644 --- a/app/views/blogs/index.atom.builder +++ b/app/views/blogs/index.atom.builder @@ -1,12 +1,12 @@ atom_feed do |feed| feed.title("Four Island") feed.updated(@blogs[0].published_at) if @blogs.length > 0 - + @blogs.each do |blog| feed.entry(blog) do |entry| entry.title(blog.title) - entry.content(blog.body, type: 'html') - + entry.content(markdown(blog.body), type: 'html') + entry.author do |author| author.name("hatkirby") end -- cgit 1.4.1