mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-26 21:36:23 +00:00
12 lines
585 B
HTML
12 lines
585 B
HTML
<div id="search-container">
|
|
<div id="search-space">
|
|
<input autocomplete="off" id="search-bar" name="search" type="text" aria-label="Search"
|
|
placeholder="Search for something...">
|
|
<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>
|