hugo-book-theme/layouts/partials/docs/search.html

8 lines
322 B
HTML
Raw Permalink Normal View History

2019-07-16 14:34:02 +02:00
{{ if default true .Site.Params.BookSearch }}
<div class="book-search">
2020-01-24 00:39:47 +01:00
<input type="text" id="book-search-input" placeholder="{{ i18n "Search" }}" aria-label="{{ i18n "Search" }}" maxlength="64" data-hotkeys="s/" />
<div class="book-search-spinner hidden"></div>
2019-07-16 14:34:02 +02:00
<ul id="book-search-results"></ul>
</div>
{{ end }}