Skip to content

Top Month Always Empty (Archive Sidebar) #2#37

Open
mxayon wants to merge 1 commit intosf-wdi-30:masterfrom
mxayon:fixes-top-month-empty
Open

Top Month Always Empty (Archive Sidebar) #2#37
mxayon wants to merge 1 commit intosf-wdi-30:masterfrom
mxayon:fixes-top-month-empty

Conversation

@mxayon
Copy link
Copy Markdown

@mxayon mxayon commented Sep 2, 2016

fixes issue #2
in /app/views/archives_sidebar/_content.html.erb
removed +1 beside month

<%= link_to"#{month[:name]} #{counter}".html_safe, articles_by_month_path( month[:year], "%02i" % (month[:month]) ) %>

<% unless sidebar.archives.blank? %>
<h3 class="sidebar_title"><%= sidebar.title %></h3>
<div class="sidebar_body">
<h3 class="sidebar-title"><%= sidebar.title %></h3>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like you pushed the wrong branch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants