<%= tuxconfig[:site_name] -%> <%= absolute_url(:controller => :news, :action => :index) -%> <%= tuxconfig[:news_heading] -%> en-us <% @items.each_with_index do |item, index| -%> <% break if index >= 25 -%> <% if item.is_a? Page -%> <%= item.name -%> <%= absolute_url(:page, item.name.gsub(/ /, '_')) -%> <%= item.published? ? 'New blog post' : 'New wiki page' -%> <%= item.author.name -%> <%= item.created_at -%> <% elsif item.is_a? Comment -%> Comment on <%= item.page.name -%> <%= absolute_url(:page, item.page.name.gsub(/ /, '_')) -%> new comment by <%= item.name -%>! <%= item.name -%> <%= item.created_at.to_date -%> <% end -%> <% end -%>