diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 13:33:22 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-11 13:33:22 -0400 |
commit | eaa9e631550df4d590b5be1da98c51be430d7a0d (patch) | |
tree | 05bd3b56b6b15e56b7a0091f15e1f32569b9bec7 /app/views | |
parent | f953e2e158a6d702f96413607d8cb5c026e561a7 (diff) | |
download | thoughts-eaa9e631550df4d590b5be1da98c51be430d7a0d.tar.gz thoughts-eaa9e631550df4d590b5be1da98c51be430d7a0d.tar.bz2 thoughts-eaa9e631550df4d590b5be1da98c51be430d7a0d.zip |
Atom feed needs to be markdown'd
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/blogs/index.atom.builder | 6 |
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 @@ | |||
1 | atom_feed do |feed| | 1 | atom_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 |