mirror of https://github.com/istio/istio.io.git
fixed the search url when use Chinese and support i18n. (#9588)
This commit is contained in:
parent
d20bce3176
commit
17586c328b
|
@ -64,8 +64,8 @@
|
|||
<input type="hidden" name="cx" value="{{ .Site.Data.args.main_search_engine_id }}" />
|
||||
{{ end }}
|
||||
<input type="hidden" name="ie" value="utf-8" />
|
||||
<input type="hidden" name="hl" value="en" />
|
||||
<input type="hidden" id="search-page-url" value="{{ .Site.BaseURL }}/search" />
|
||||
<input type="hidden" name="hl" value="{{ .Page.Lang }}" />
|
||||
<input type="hidden" id="search-page-url" value="{{ "/search" | relLangURL }}" />
|
||||
<input id="search-textbox" class="search-textbox form-control" name="q" type="search" aria-label='{{ i18n "search" }}' placeholder='{{ i18n "search_label" }}' />
|
||||
<button id="search-close" title='{{ i18n "search_cancel" }}' type="reset" aria-label='{{ i18n "search_cancel" }}'>{{ partial "icon.html" "menu-close" }}</button>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue