website/layouts/partials/widgets/search.html

8 lines
292 B
HTML

<div class="widget-wrap">
<input id="search" type="text" placeholder="search">
<ul id="results">
</ul>
<script type="text/javascript" src="{{ .Site.BaseURL }}js/search.js"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}bower_components/lunr.js/lunr.min.js"></script>
</div>