about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 13:33:22 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-11 13:33:22 -0400
commiteaa9e631550df4d590b5be1da98c51be430d7a0d (patch)
tree05bd3b56b6b15e56b7a0091f15e1f32569b9bec7
parentf953e2e158a6d702f96413607d8cb5c026e561a7 (diff)
downloadthoughts-eaa9e631550df4d590b5be1da98c51be430d7a0d.tar.gz
thoughts-eaa9e631550df4d590b5be1da98c51be430d7a0d.tar.bz2
thoughts-eaa9e631550df4d590b5be1da98c51be430d7a0d.zip
Atom feed needs to be markdown'd
-rw-r--r--app/views/blogs/index.atom.builder6
1 files 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 @@
1atom_feed do |feed| 1atom_feed do |feed|
2 feed.title("Four Island") 2 feed.title("Four Island")
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) do |entry|
7 entry.title(blog.title) 7 entry.title(blog.title)
8 entry.content(blog.body, type: 'html') 8 entry.content(markdown(blog.body), type: 'html')
9 9
10 entry.author do |author| 10 entry.author do |author|
11 author.name("hatkirby") 11 author.name("hatkirby")
12 end 12 end