diff options
Diffstat (limited to 'themes/book/layouts/partials/docs/search.html')
-rw-r--r-- | themes/book/layouts/partials/docs/search.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/book/layouts/partials/docs/search.html b/themes/book/layouts/partials/docs/search.html new file mode 100644 index 0000000..5cc9dad --- /dev/null +++ b/themes/book/layouts/partials/docs/search.html @@ -0,0 +1,7 @@ +{{ if default true .Site.Params.BookSearch }} +<div class="book-search"> + <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> + <ul id="book-search-results"></ul> +</div> +{{ end }} |