Wednesday, October 25, 2023

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. philiprenich.com #

Showing the last 1 active days.

For more content, use the navigation tree in the sidebar to explore the full archives.