quartz-research-note/layouts/partials/search.html

11 lines
594 B
HTML
Raw Normal View History

2021-08-27 18:08:11 +00:00
<div id="search-container">
2021-10-25 06:17:13 +00:00
<div id="search-space">
2021-10-25 22:00:55 +00:00
<input autocomplete="off" id="search-bar" name="search" type="text" aria-label="Search" placeholder="Search for something...">
2021-08-27 18:08:11 +00:00
<div id="results-container">
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/flexsearch@0.7.21/dist/flexsearch.bundle.js" integrity="sha256-i3A0NZGkhsKjVMzFxv3ksk0DZh3aXqu0l49Bbh0MdjE=" crossorigin="anonymous" defer></script>
{{ $js := resources.Get "js/search.js" | resources.Fingerprint "md5" | resources.Minify }}
<script defer src="{{ $js.Permalink }}"></script>