Layout archive sub-menu properly

This commit is contained in:
Wesley Moore 2010-02-01 12:58:10 +11:00
parent 45ccebd015
commit 6f8757b620

View file

@ -17,7 +17,7 @@
['Personal', personal_articles.size], ['Personal', personal_articles.size],
] ]
%> %>
<ul class="inline"> <ul class="inline menu">
<% menu.each do |menu_item| <% menu.each do |menu_item|
label, count = menu_item label, count = menu_item
path = (label != "All" ? '/' + label.downcase : '') + "/articles/" path = (label != "All" ? '/' + label.downcase : '') + "/articles/"