feat: include Algolia in 404 search

This commit is contained in:
George Cushen committed 2021-12-19 17:03:04 +00:00
1 parent 5216e4c8b3
commit 4a07f9eaa7
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@
<h1>{{ i18n "page_not_found" }}</h1>
{{/* Show search box if built-in search engine is enabled. */}}
{{ if eq (lower site.Params.search.provider) "wowchemy" }}
{{ if in (slice "wowchemy" "algolia") (lower site.Params.search.provider) }}
<form class="d-flex align-items-center mb-3">
<input name="q" type="search" class="form-control" placeholder="{{ i18n "search_placeholder" }}" autocomplete="off">
</form>