%= render '_head' %>
<%= render '_header' %>
<%= h(@item[:title] || 'Articles') %>
<% menu = [ ['All', sorted_articles.size], ['Technical', technical_articles.size], ['Personal', personal_articles.size], ] %>
Search
<% menu.each do |menu_item| label, count = menu_item path = (label != "All" ? '/' + label.downcase : '') + "/articles/" if label != "All" feed = "/#{label.downcase}/feed/" else feed = '/feed/' end active = (@item.identifier.to_s.sub(%r{page/$}, '') == path) %>
><%= label %>
(<%= count %>)
<% end %>
<%= yield %>
<%= render '_footer' %>