From bd45464b37125aedc3d27a2fea94a33e223331ba Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Tue, 27 Mar 2018 15:36:19 -0700 Subject: [PATCH] Fix sidebar --- www/src/layouts/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/src/layouts/index.js b/www/src/layouts/index.js index 1b3073071192e..0902fdca7c97e 100644 --- a/www/src/layouts/index.js +++ b/www/src/layouts/index.js @@ -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`