<% if controller.action_name == 'index' -%>
<% end -%>
<%= link_to_permalink article,"Continue reading..." %>
<% else -%> <%= article.html(:extended) %> <% end -%><%= link_to_permalink article,"Continue reading..." %>
<% else -%> <%= article.html(:extended) %> <% end -%>