2020-01-12 06:33:02 -08:00
|
|
|
{{ if default true .Site.Params.GeekdocSearch }}
|
2022-01-06 04:58:10 -08:00
|
|
|
<div class="gdoc-search">
|
2022-04-18 11:33:23 -07:00
|
|
|
<svg class="gdoc-icon gdoc_search"><use xlink:href="#gdoc_search"></use></svg>
|
2022-01-06 04:58:10 -08:00
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
id="gdoc-search-input"
|
|
|
|
class="gdoc-search__input"
|
2022-01-23 04:21:44 -08:00
|
|
|
placeholder="{{ i18n "form_placeholder_search" }}"
|
|
|
|
aria-label="{{ i18n "form_placeholder_search" }}"
|
2022-01-06 04:58:10 -08:00
|
|
|
maxlength="64"
|
2022-01-16 07:03:31 -08:00
|
|
|
data-site-base-url="{{ .Site.BaseURL }}"
|
2022-01-23 04:21:44 -08:00
|
|
|
data-site-lang="{{ .Site.Language.Lang }}"
|
2022-01-06 04:58:10 -08:00
|
|
|
/>
|
|
|
|
<div class="gdoc-search__spinner spinner hidden"></div>
|
|
|
|
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
|
|
|
|
</div>
|
2020-01-12 06:33:02 -08:00
|
|
|
{{ end }}
|