<% content_for :body_content_title do %>
  <%= t('plugins.refinerycms_news.title') %>
<% end %>

<% content_for :body_content_left do %>
  <%= @page[:body] if @news_items.offset == 0 %>

  <% if @news_items.any? %>
    <% @news_items.each do |item| %>
      <h3><%= link_to item.title, news_item_url(item) %></h3>
      <p>
        <small><%= t('.published') %> <%= l(item.publish_date) %></small>
      </p>
      <%= truncate  item.body, :length => 200,
                    :omission => " ... #{link_to t('.read_more'), news_item_url(item)}",
                    :preserve_html_tags => true %>
    <% end %>

    <%= will_paginate(@news_items) %>
  <% else %>
    <p><em><%= t('.no_items_yet') %></em></p>
  <% end %>
<% end -%>

<% content_for :body_content_right, "&nbsp;" if @news_items.offset > 0 -%>

<%= render :partial => "/shared/content_page" %>

<% content_for :body_content_title do %>
  <%= t('plugins.refinerycms_news.title') %>
<% end %>

<% content_for :body_content_left do %>
  <%= @page[:body] if @news_items.offset == 0 %>

  <% if @news_items.any? %>
    <% @news_items.each do |item| %>
      <h3><%= link_to item.title, news_item_url(item) %></h3>
      <p>
        <small><%= t('.published') %> <%= l(item.publish_date, :format => :long) %></small>
      </p>
      <%= truncate  item.body, :length => 200,
                    :omission => " ... #{link_to t('.read_more'), news_item_url(item)}",
                    :preserve_html_tags => true %>
    <% end %>

    <%= will_paginate(@news_items) %>
  <% else %>
    <p><em><%= t('.no_items_yet') %></em></p>
  <% end %>
<% end -%>

<% content_for :body_content_right, "&nbsp;" if @news_items.offset > 0 -%>

<%= render :partial => "/shared/content_page" %>

Use :format => :long date format for index action just like in show action.
Use :format => :long date format for index action just like in show action.
