Building Search Index with Eleventy

One of the features that I’m quite happy about on my new website is the built-in search functionality and how the search index gets built for it. You can test it out yourself by pressing Ctrl + K and entering a search query into the input that is revealed: Screenshot of the search feature. I’ve built this feature using Eleventy and some custom filter logic that I will attempt to explain in this…