From c38bbb70d99e8842d735c57a3dfdb6dd488e5151 Mon Sep 17 00:00:00 2001 From: James Nocentini Date: Tue, 11 Jun 2019 12:44:19 +0000 Subject: [PATCH] Bug: after merging https://github.com/couchbase/docs-ui/pull/58 the Search box is not being displayed on page in the `home` and `tutorials` component. This commit moves the search box HTML outside of the if statements that checks if the component is `home` or `tutorials`. --- src/partials/header.hbs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/partials/header.hbs b/src/partials/header.hbs index 88a3cd1..67ae814 100644 --- a/src/partials/header.hbs +++ b/src/partials/header.hbs @@ -81,12 +81,6 @@ {{{page.component.title}}}{{#unless (eq page.componentVersion.displayVersion 'master')}} {{page.componentVersion.displayVersion}}{{/unless}} {{/if}} {{/if}} - {{#if env.ALGOLIA_API_KEY}} - - {{/if}} {{/if}} {{/if}} {{#if (and page.component (or (eq page.component.name 'tutorials') (eq page.component.name 'userprofile-couchbase-mobile')))}} @@ -94,6 +88,12 @@ Tutorials {{/if}} + {{#if env.ALGOLIA_API_KEY}} + + {{/if}}