Search in Hugo
Well, it’s not a good blog website if you can’t search on it, right? So I decided to implement a search bar.
Search on a static website Indexing your static site is probably the hardest part of doing search. You can either use some JS script where the client will index the site or you can index it on the server after you generate the site.
Well Pagefind is the second one.