markjgsmith

Linkblog

Adding Search to an Eleventy Site Without Client-side JavaScript - I've been meaning to add a search feature to my static site for a while now, so this was an interesting read. Roughly speaking during your static site's build you create a big JSON file that contains all the searchable content, such as body, content, title description. That file is then uploaded with a serverless function that uses said file to perform searches, and build the results page HTML which is returned to the browser. www.philiprenich.com #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.