% unless sidebar.archives.blank? %>
Archives
<% sidebar.archives.each do |month| %>
-
<%= link_to month[:name], :controller => "articles", :action => "find_by_date", :year => month[:year], :month => month[:month], :day => nil %>
<%= "(#{month[:article_count]})" if show_count %>
<% end %>
<% end %>