Skip to content

Commit

Permalink
Fix sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Mar 27, 2018
1 parent f3df75b commit bd45464
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/src/layouts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ class DefaultLayout extends React.Component {
this.props.location.pathname.slice(0, 10) === `/tutorial/`
const isFeature = this.props.location.pathname.slice(0, 9) === `/features`
const isPackageSearchPage =
this.props.location.pathname.slice(0, 8) === `/plugins`
this.props.location.pathname.slice(0, 8) === `/plugins` ||
this.props.location.pathname.slice(0, 9) === `/packages`
const isPackageReadme =
this.props.location.pathname.slice(0, 16) === `/packages/gatsby`

Expand Down

0 comments on commit bd45464

Please sign in to comment.