<%= (controller.action_name.include? 'permalink') ? article.title : link_to_permalink(article,article.title) %>
<% unless controller.action_name == 'redirect' %>
<% if article.excerpt? %>
<%= article.excerpt %>
<% else %>
<%= article.html(:body) %>
<% if article.extended? %>
<%= link_to_permalink article,"Continue reading..." %>
<% end %>
<% end %>
<% else %>
<%= article.html(:body) %>
<%= article.html(:extended) %>
<% end %>
<% if controller.controller_name == "articles" and controller.action_name == "redirect" %>
<% else %>
<%= link_to_permalink(article, _("Read full article"), nil, 'more') if controller.action_name != 'permalink' %>
<%= link_to_permalink(article,pluralize(article.published_comments.size, _('no comments') , _('1 comment'), __('%d comments')),'comments', 'comments') %>
<% end %>