<% 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 %>
<% if @page.display_hits? || @page.license.present? %>
<% if @page.display_hits? %>
<%= n_('Viewed one time', 'Viewed %{num} times', @page.hits) % { :num => @page.hits } %>
<% end %> <% if @page.license.present? %>
<%= _('Licensed under %s') % (@page.license.url.present? ? link_to(@page.license.name, @page.license.url, :target => '_blank') : @page.license.name) %>
<% end %>
<% 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 %> <%= render :partial => 'shared/disabled_enterprise' %> <% if NOOSFERO_CONF['addthis_enabled'] %>
<%= addthis_image_tag %>
<% end %> <% cache(@page.cache_key(params, user, language)) do %>
"> <% options = @page.image? ? {:gallery_view => true} : {} %> <%= article_to_html(@page, options) %>
<% end %> <% if ! @page.categories.empty? %>

<%= _('Categories') %>

<%= @page.categories.map {|item| link_to_category(item, false) }.join(", ") %>
<% end %> <%= display_source_info(@page) %>
<% if @page.accept_comments? || @comments_count > 0 %>

> <%= display_number_of_comments(@comments_count) %>

<% end %> <% if @page.accept_comments? && @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();") %> <% end %> <% if @page.accept_comments? %>
<%= render :partial => 'comment/comment_form', :locals =>{:comment => Comment.new, :url => {:controller => :comment, :action => :create}, :display_link => true, :cancel_triggers_hide => true}%>
<% end %>
<%= add_zoom_to_article_images %>