templates/index.rxml in shinmun-0.9.2 vs templates/index.rxml in shinmun-1.0
- old
+ new
@@ -10,10 +10,10 @@
<% for post in @posts %>
<item>
<title><%= post.title %></title>
<category><%= post.category %></category>
<description><%= strip_tags post.summary %></description>
- <author><%= @blog.author %></author>
+ <author><%= @author || @blog.author %></author>
<link><%= @blog.url %><%= post_path post %></link>
<pubDate><%= rfc822 post.date %></pubDate>
</item>
<% end %>
</channel>