blob: a05f29d96a730a767065b511cc174ecccfb34a79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
atom_feed do |feed|
feed.title("Four Island")
feed.updated(@blogs[0].published_at) if @blogs.length > 0
@blogs.limit(10).each do |blog|
feed.entry(blog, published: blog.published_at) do |entry|
entry.title(blog.title)
entry.content(markdown(blog.body), type: 'html')
entry.author do |author|
author.name("hatkirby")
end
end
end
end
|