2020-01-12 14:33:02 +00:00
|
|
|
{{ if default true .Site.Params.GeekdocSearch }}
|
2022-01-06 12:58:10 +00:00
|
|
|
<div class="gdoc-search">
|
|
|
|
<svg class="icon gdoc_search"><use xlink:href="#gdoc_search"></use></svg>
|
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
id="gdoc-search-input"
|
|
|
|
class="gdoc-search__input"
|
|
|
|
placeholder="Search..."
|
|
|
|
aria-label="Search"
|
|
|
|
maxlength="64"
|
2022-01-16 15:03:31 +00:00
|
|
|
data-site-base-url="{{ .Site.BaseURL }}"
|
2022-01-06 12:58:10 +00:00
|
|
|
/>
|
|
|
|
<div class="gdoc-search__spinner spinner hidden"></div>
|
|
|
|
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
|
|
|
|
</div>
|
2020-01-12 14:33:02 +00:00
|
|
|
{{ end }}
|