File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 11<% unless sidebar.archives.blank? %>
2- <h3 class ="sidebar_title "> <%= sidebar . title %> </ h3 >
3- < div class ="sidebar_body ">
4- < ul id ="archives ">
5- <% sidebar . archives . each do |month | %>
6- <% counter = sidebar . show_count ? "<em>(#{ month [ :article_count ] } )</em>" : "" %>
7- < li >
8- <%= link_to "#{ month [ :name ] } #{ counter } " . html_safe , articles_by_month_path ( month [ :year ] , "%02i" % ( month [ :month ] + 1 ) ) %>
9- </ li >
10- <% end %>
11- </ ul >
12- </ div >
13- <% end %>
2+ <h3 class ="sidebar-title "> <%= sidebar . title %> </ h3 >
3+ < div class ="sidebar-body ">
4+ < ul id ="archives ">
5+ <% sidebar . archives . each do |month | %>
6+ <% counter = sidebar . show_count ? "<em>(#{ month [ :article_count ] } )</em>" : "" %>
7+ < li >
8+ <%= link_to "#{ month [ :name ] } #{ counter } " . html_safe , articles_by_month_path ( month [ :year ] , "%02i" % ( month [ :month ] ) ) %>
9+ </ li >
10+ <% end %>
11+ </ ul >
12+ </ div >
13+ <% end %>
You can’t perform that action at this time.
0 commit comments