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

10 lines
333 B
HTML
Raw Normal View History

2019-07-16 14:34:02 +02:00
{{ if default true .Site.Params.BookSearch }}
<div class="book-search">
<ul id="book-search-dummy" class="hidden">
<li><a href></a></li><!-- used to clone search result -->
2019-07-16 14:34:02 +02:00
</ul>
<input type="text" placeholder="Search" id="book-search-input" maxlength="64" readonly />
2019-07-16 14:34:02 +02:00
<ul id="book-search-results"></ul>
</div>
{{ end }}