mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-13 08:15:44 +00:00
feat: include Algolia in 404 search
This commit is contained in:
1 parent
5216e4c8b3
commit
4a07f9eaa7
1 file changed
+1
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user