Running the following query on the /blog/
section shows me that this
blog currently has 64 posts (including this one):
document
.querySelector(".page-list")
.children
.length;
// 64
The number by itself is not that impressive, but I usually use my own blog as a reference or as documentation and it would be nice to have some kind of search functionality outside of a GNU Emacs instance.
Given that this website is generated with Hugo, the search should also be static and not depend on a particular service. I found out that the most used tools for this requirements are PageFind and lunr.
The downside here being that it would introduce a rather large JavaScript file on some pages... Which might be worth it? Well, this is something I'll have to decide until the 100th post.