diff options
author | Sarah German <sgerman@gitlab.com> | 2023-01-25 13:55:59 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2023-01-25 13:55:59 +0300 |
commit | d98ca853a5b291133ca76323616ce3dd9c34693c (patch) | |
tree | 572f74ee7a875995c55e6fc1b8b7dc87b135784c /content/index.erb | |
parent | 911830a6ab2fd270880afef8f4735f31b6974bc8 (diff) |
Rename ALGOLIA_SEARCH variable to be more generic
Diffstat (limited to 'content/index.erb')
-rw-r--r-- | content/index.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/index.erb b/content/index.erb index 218bb26e..c9b73e11 100644 --- a/content/index.erb +++ b/content/index.erb @@ -17,7 +17,7 @@ title: GitLab Documentation <h5 class="card-title pb-3 mb-2">Search the docs</h5> <% if @item[:searchbar].nil? %> <% unless @item.identifier.to_s.split('/')[1] == 'search' %> - <% if @config[:algolia] == "true" %> + <% if @config[:search_backend] == "algolia" %> <div id="docsearch" class="gl-mb-4 gl-display-flex gl-justify-content-center"></div> <% else %> <div class="js-lunr-form"></div> |