Skip to content

Commit bd45464

Browse files
committed
Fix sidebar
1 parent f3df75b commit bd45464

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

www/src/layouts/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ class DefaultLayout extends React.Component {
3232
this.props.location.pathname.slice(0, 10) === `/tutorial/`
3333
const isFeature = this.props.location.pathname.slice(0, 9) === `/features`
3434
const isPackageSearchPage =
35-
this.props.location.pathname.slice(0, 8) === `/plugins`
35+
this.props.location.pathname.slice(0, 8) === `/plugins` ||
36+
this.props.location.pathname.slice(0, 9) === `/packages`
3637
const isPackageReadme =
3738
this.props.location.pathname.slice(0, 16) === `/packages/gatsby`
3839

0 commit comments

Comments
 (0)