%= render '_head' %>
<%= render '_header' %>
Archives
<% menu = [ ['All', sorted_articles.size], ['Technical', technical_articles.size], ['Personal', personal_articles.size], ] %>
<% menu.each do |menu_item| label, count = menu_item path = (label != "All" ? '/' + label.downcase : '') + "/articles/" active = (@item.identifier.sub(%r{page/$}, '') == path) %>
><%= label %>
(<%= count %>)
<% end %>
Search
<%= yield %>
<% pagepath = @item.identifier; pagepath += 'page/' if pagepath !~ %r{/page/$} %>
« Newer
|
Older »
<%= render '_footer' %>