% content_for :head, tag.meta(:name => :robots, :content => :noindex) %>
<% content_for :heading do %>
<% if @user %>
<%= user_image @user %>
<% end %>
<%= @title %>
<% end %>
<% if @entries.empty? %>
<%= t ".no_entries" %>
<% else %>
<%= t ".recent_entries" %>
<%= render @entries %>
<%= render "pagination", :newer_key => "diary_entries.index.newer_entries",
:older_key => "diary_entries.index.older_entries",
:newer_id => @newer_entries_id,
:older_id => @older_entries_id %>
<% end %>
<% unless params[:friends] or params[:nearby] -%>
<% content_for :auto_discovery_link_tag do -%>
<%= auto_discovery_link_tag :rss, :action => "rss", :language => params[:language] %>
<% end -%>
<% end -%>