%
if @page.parent && @page.parent.has_posts? && @page.parent.feed
add_rss_feed_to_head(@page.parent.name, @page.parent.feed.url)
end
%>
<%= render :partial => 'confirm_unfollow' %>
<% if @page.parent && !@page.parent.path.blank? %>
<%= button(:back, _('Go back to %s') % @page.parent.short_title, @page.parent.url) %>
<% end %>
<%= render :partial => 'article_toolbar' %>
<% if NOOSFERO_CONF['addthis_enabled'] and @page.public? %>
<%= render :partial => 'addthis' %>
<% end %>
<% cache(@page.cache_key(params, user, language)) do %>
">
<% options = @page.image? ? {:gallery_view => true} : {} %>
<% if @page.image.present? && !@page.event? %>
<%= image_tag(@page.image.public_filename) %>
<%= @page.image.label%>
<% end %>
<%= article_to_html(@page, options) %>
<% end %>
<% if ! @page.categories.empty? %>
<%= _('Categories') %>
<%= @page.categories.map {|item| link_to_category(item, false) }.join(", ") %>
<% end %>
<% if !@page.tags.empty? %>
<%= _("This article's tags:") %>
<%= @page.tags.map { |t| link_to(t, :controller => 'profile', :profile => @profile.identifier, :action => 'tags', :id => t.name ) }.join("\n") %>
<% end %>
<%= display_source_info(@page) %>
<%= @plugins.dispatch(:article_extra_contents, @page).collect { |content| instance_exec(&content) }.join("") %>
<% if @page.accept_comments? || @comments_count > 0 %>
<% end %>
<%= add_zoom_to_article_images %>
> <%= display_number_of_comments(@comments_count) %>
<% if @comments.present? && @comments.count > 1 %> <%= link_to(_('Post a comment'), '#', :class => 'display-comment-form', :id => 'top-post-comment-button', :onclick => "jQuery('#page-comment-form .display-comment-form').first().click();") if @page.accept_comments? %> <%= hidden_field_tag("page_url", url_for(:controller=>'content_viewer', :action=>'view_page', :profile=>profile.identifier, :page => @page.explode_path)) %> <%= javascript_include_tag "comment_order.js" %><% if @comments.present? %> <%= render :partial => 'comment/comment', :collection => @comments %> <%= pagination_links @comments, :param_name => 'comment_page' %> <% end %>
<% if @page.accept_comments? %>