mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 21:00:42 +00:00
Robert Kaussow
5c22ce57dc
BREAKING CHANGE: Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
18 lines
627 B
HTML
18 lines
627 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="{{ i18n "form_placeholder_search" }}"
|
|
aria-label="{{ i18n "form_placeholder_search" }}"
|
|
maxlength="64"
|
|
data-site-base-url="{{ .Site.BaseURL }}"
|
|
data-site-lang="{{ .Site.Language.Lang }}"
|
|
/>
|
|
<div class="gdoc-search__spinner spinner hidden"></div>
|
|
<ul id="gdoc-search-results" class="gdoc-search__list"></ul>
|
|
</div>
|
|
{{ end }}
|