mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-16 18:00:39 +00:00
17 lines
521 B
HTML
17 lines
521 B
HTML
{{ if default true .Site.Params.GeekdocSearch }}
|
|
<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"
|
|
data-site-base-url="{{ .Site.BaseURL }}"
|
|
/>
|
|
<div class="gdoc-search__spinner spinner hidden"></div>
|
|
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
|
|
</div>
|
|
{{ end }}
|