Having a search function is very useful when there are more thatn just a couple of posts on a website. I had my heart set on writing my site with Hugo but I really wanted to have a search function. As it turns out this isn’t the easiest thing to do. This post assumes you have the same directory structure and files as the ‘Hugo Build Pipeline’ post Search Page First off, a search page is required to actually perform a search function is required.