hugo-geekdoc/layouts/partials/search.html

17 lines
521 B
HTML
Raw Normal View History

2020-01-12 14:33:02 +00:00
{{ 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>
2020-01-12 14:33:02 +00:00
{{ end }}