<% if @articles.empty? %>

<%= t(".no_articles_found")%>

<% else currentmonth = 0 currentyear = 0 for article in @articles if (article.published_at.month != currentmonth || article.published_at.year != currentyear) currentmonth = article.published_at.month currentyear = article.published_at.year %>

<%= l(article.published_at, format: :letters_month_with_year) %>

<% end %>
<%= article.published_at.mday %> - <%= link_to_permalink(article,h(article.title)) %> <% if !article.tags.empty? %> <%= t(".posted_in") %> <%= safe_join(article.tags.collect {|t| link_to_permalink t,t.display_name }, ", ") %> <% end %>
<% end %> <% end %> +<%= paginate @articles, next_label: "#{t("pagination.next_page")} »", previous_label: "« #{t('pagination.previous_page')}" %>