Skip to content

Issue 2#27

Open
revalidate wants to merge 4 commits into
sf-wdi-25:masterfrom
revalidate:issue_2
Open

Issue 2#27
revalidate wants to merge 4 commits into
sf-wdi-25:masterfrom
revalidate:issue_2

Conversation

@revalidate

Copy link
Copy Markdown

fixes #2 & #3 : top month always empty & months sorted incorrectly because of an off-one error in the archves_sidebar.rb & _content.html.erb view page

<% 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
Contributor

Choose a reason for hiding this comment

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

Please explain how modifying this class name is relevant to issue #2

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

fixes #1 because the css is targeting sidebar-title not sidebar_title

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does not belong in this PR

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

changed it so it doesn't include issue #1

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.

Top Month Always Empty (Archive Sidebar)

2 participants