summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/layouts/partials/search-input.html
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-01-17 01:47:38 -0500
committerIan Lewis <ianlewis@google.com>2020-01-17 01:47:38 -0500
commit6d055f33a19203b8589142b74737dbe5f67d18e3 (patch)
treea19d52458e1453b48d4c568f70bbb114ad30aed2 /themes/docsy/layouts/partials/search-input.html
parentc73410c0bda98fa617d82cf423ce96ee5e6af6a4 (diff)
parentdcd8504d9866a9b0d95fadbff79e599f5d6893db (diff)
Merge branch 'master' into lint-md
Diffstat (limited to 'themes/docsy/layouts/partials/search-input.html')
-rw-r--r--themes/docsy/layouts/partials/search-input.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/docsy/layouts/partials/search-input.html b/themes/docsy/layouts/partials/search-input.html
index 883ca3c3a..ee82a6988 100644
--- a/themes/docsy/layouts/partials/search-input.html
+++ b/themes/docsy/layouts/partials/search-input.html
@@ -1,3 +1,3 @@
-{{ with .Site.Params.gcs_engine_id }}
+{{ with or .Site.Params.gcs_engine_id .Site.Params.algolia_docsearch }}
<input type="search" class="form-control td-search-input" placeholder="&#xf002 {{ T "ui_search" }}" aria-label="{{ T "ui_search" }}" autocomplete="off">
{{ end }} \ No newline at end of file