We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 761397a commit ba6de60Copy full SHA for ba6de60
lib/archives_sidebar/app/views/archives_sidebar/_content.html.erb
@@ -5,7 +5,7 @@
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) ) %>
+ <%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]) ) %>
9
</li>
10
<% end %>
11
</ul>
0 commit comments