mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-16 01:40:43 +00:00
Robert Kaussow
5e105c9ff4
BREAKING CHANGE: Build-in icons are prefixed with `gdoc_` now. If you use build-in icons in e.g. menus you have to rename these references!
10 lines
466 B
HTML
10 lines
466 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" />
|
|
<div class="gdoc-search__spinner spinner hidden"></div>
|
|
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
|
|
</div>
|
|
{{ end }}
|