-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sidebar: genericize the component and add improvements #277
Conversation
✅ Deploy Preview for bump-content-hub ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -1,5 +1,5 @@ | |||
layout: help | |||
sidebar: true | |||
page_class: help | |||
page_class: help with-sidebar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry I'm not familiar with this can you explain what is it for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are css classes that will be applied to the body of all the pages contained in the same folder as _defaults.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm left non blocking tiny suggestions/comments.
May you create a separate dedicated commit for the move from Help to Shared ?
2ddd191
to
c736506
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thanks for the review, it's clearer and simplifies any reverts with separate commits.
@@ -1,5 +1,5 @@ | |||
layout: help | |||
sidebar: true | |||
page_class: help | |||
page_class: help with-sidebar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanation
The sidebar is currently under the
Help
namespace but we will need it for the upcoming guides so I'm putting it underShared
.In the mean time I also improve some accessibility and responsive stuff.