Fork me on GitHub
#cryogen
<
2023-11-26
>
Jakub Holý (HolyJak)22:11:17

FYI if you want to have search on your blog, what works for me great is pagefind - it is a CLI tool you can plug into your build to automatically index your .html files. It even comes with built-in UI you can easily add to your blog. It builds & uses a .js library and supporting index files to perform the search on the client side, without any backend. See the https://github.com/holyjak/blog.jakubholy.net/commit/cc18a2c867234e5fce7b118abe6b8e475af5a28f .

Vincent08:12:32

it wil lautomatically index them? cool!

Jakub Holý (HolyJak)10:12:01

Well, you have to run it and tell it which folder to process, but otherwise yes