merge blog features that got deleted when repo was renamed.
[leap_website.git] / app / views / layouts / blog / feed.atom.builder
1 atom_feed(:language => I18n.locale.to_s) do |feed|
2   feed.title "LEAP News"
3   feed.updated @pages.first.props.posted_at
4   @pages.each do |page|
5     feed.entry(page, :url => page_path(page), :updated => page.props.posted_at) do |entry|
6       entry.title page.title
7       entry.summary page.props.preview, :type => 'html'
8       entry.content page_body(page), :type => 'html'
9       entry.author page.props.author
10     end
11   end
12 end