update search placeholder
parent
f50f3f1229
commit
a3af36a5af
|
@ -1,10 +1,10 @@
|
|||
{{ if or .Site.Params.gcs_engine_id .Site.Params.algolia_docsearch }}
|
||||
<input type="search" class="form-control td-search-input" placeholder=" {{ T "ui_search" }}" aria-label="{{ T "ui_search" }}" autocomplete="off">
|
||||
<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" }}" autocomplete="on">
|
||||
<input type="search" id="search-input" autocomplete="off" class="form-control td-search-input" placeholder=" {{ T "ui_search_placeholder" }}" autocomplete="on">
|
||||
<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" }}" aria-label="{{ T "ui_search" }}" autocomplete="off">
|
||||
<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 }}
|
Loading…
Reference in New Issue