Add Stork support

This commit is contained in:
Elnu 2022-07-17 17:03:23 -07:00
parent ce25ef91c6
commit 65853fccd2
7 changed files with 130 additions and 8 deletions

View file

@ -0,0 +1,13 @@
<div class="stork-search">
<input data-stork="posts" placeholder="🔎 Search {{ .Site.Title }}...">
</div>
<div data-stork="posts-output"></div>
<link rel="stylesheet" href="/stork/stork.css">
<script src="/stork/stork.js"></script>
<script>
stork.initialize("/stork/stork.wasm");
stork.register(
"posts",
"/home.st"
);
</script>