<% @title = _("{{site_name}} blog and tweets", :site_name => site_name) %> <% if !@twitter_user.empty? %>
<% if Configuration::twitter_widget_id %>
<% end %>
<% end %>

<%=@title %>

<% for item in @blog_items: %>

<%=h item['title'] %>

<%= _("Posted on {{date}} by {{author}}", :date=>simple_date(Time.parse(item['pubDate'][0])), :author=>item['creator']) %>

<% if item['encoded'] %> <%= item['encoded'] %> <% elsif item['description'] %> <%= item['description'] %> <% end %>

<% if item['comments'] %> <%= _("{{number_of_comments}} comments", :number_of_comments=>item['comments'][1]) %> <% end %>

<% end %>