Adding Search to the Site

Following this blog article I’ve added a local search functionality to the blog.

This is based on pagefind, which generates a local database and provides a small javascript library to query it. This is all running in the browser, without need for exterenal resources.

Database is newly generated upon each upload of the site to the server, as simple as running pagefind --site public/.