about summary refs log tree commit diff stats
path: root/app/views/blogs
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/blogs')
-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