Adding a search to your Hugo website
Introduction In this tutorial I’ll show you how you can add a client-side-search page to your Hugo website. This is done using Javascript and depends on fuse.js. This tutorial is split in 5 parts: Copying fuse.js dependencies Configuring search layout Adding search page Editing hugo.yml Editing index.json How it works The search is processed by fuse.js. You can read more here more about the fuse.js Scoring theory or the API reference. Getting started Copying some fuse.js dependencies First, you need to copy the fuse.js library: ...