30 lines
887 B
HTML
30 lines
887 B
HTML
{{ if or .Site.Params.gcs_engine_id .Site.Params.algolia_docsearch }}
|
|
<input
|
|
type="search"
|
|
class="form-control td-search-input"
|
|
placeholder=" {{ T "ui_search_placeholder" }}"
|
|
aria-label="{{ T "ui_search_placeholder" }}"
|
|
autocomplete="off"
|
|
>
|
|
{{ else if .Site.Params.offlineSearch }}
|
|
<div id="search-nav-container">
|
|
<input
|
|
type="search"
|
|
id="search-input"
|
|
autocomplete="off"
|
|
class="form-control td-search-input"
|
|
placeholder=" {{ T "ui_search_placeholder" }}"
|
|
autocomplete="off"
|
|
>
|
|
<div id="search-results" class="container"></div>
|
|
</div>
|
|
{{ else if .Site.Params.k8s_search }}
|
|
<input
|
|
type="search"
|
|
class="form-control td-search-input"
|
|
name="q"
|
|
placeholder=" {{ T "ui_search_placeholder" }}"
|
|
aria-label="{{ T "ui_search_placeholder" }}"
|
|
autocomplete="off"
|
|
>
|
|
{{ end }} |