2023-06-22 07:45:54 +00:00
|
|
|
{{ if default true .Site.Params.geekdocSearch }}
|
2022-04-23 13:14:42 +00:00
|
|
|
<div class="gdoc-search flex align-center">
|
2022-04-18 18:33:23 +00:00
|
|
|
<svg class="gdoc-icon gdoc_search"><use xlink:href="#gdoc_search"></use></svg>
|
2022-01-06 12:58:10 +00:00
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
id="gdoc-search-input"
|
|
|
|
class="gdoc-search__input"
|
2022-12-07 07:57:41 +00:00
|
|
|
placeholder="{{ i18n "form_placeholder_search" }}..."
|
2022-01-23 12:21:44 +00:00
|
|
|
aria-label="{{ i18n "form_placeholder_search" }}"
|
2022-01-06 12:58:10 +00:00
|
|
|
maxlength="64"
|
2024-01-07 15:24:22 +00:00
|
|
|
data-site-base-url="{{ "" | absURL }}"
|
2022-01-23 12:21:44 +00:00
|
|
|
data-site-lang="{{ .Site.Language.Lang }}"
|
2022-01-06 12:58:10 +00:00
|
|
|
/>
|
|
|
|
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
|
|
|
|
</div>
|
2020-01-12 14:33:02 +00:00
|
|
|
{{ end }}
|