update search placeholder

pull/21949/head
Arhell 2020-06-23 16:41:48 +03:00
parent f50f3f1229
commit a3af36a5af
No known key found for this signature in database
GPG Key ID: 392F5B9038B303C5
1 changed files with 3 additions and 3 deletions

View File

@ -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="&#xf002 {{ T "ui_search" }}" aria-label="{{ T "ui_search" }}" autocomplete="off">
<input type="search" class="form-control td-search-input" placeholder="&#xf002 {{ 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="&#xf002 {{ T "ui_search" }}" autocomplete="on">
<input type="search" id="search-input" autocomplete="off" class="form-control td-search-input" placeholder="&#xf002 {{ 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="&#xf002 {{ T "ui_search" }}" aria-label="{{ T "ui_search" }}" autocomplete="off">
<input type="search" class="form-control td-search-input" name="q" placeholder="&#xf002 {{ T "ui_search_placeholder" }}" aria-label="{{ T "ui_search_placeholder" }}" autocomplete="off">
{{ end }}