We used the 11ty RSS plugin with a special permalink and two new custom 11ty filters to create a JSON file appropriate for sending to the search solution Algolia. We sent that off to Algolia via its API and used 11ty’s events functionality to resend it every time 11ty builds the site.
We then added a serverless route to our static site so that users could submit a search form and get dynamic content back. This route was built with 11ty’s standard templating and the bundled 11ty Serverless plugin. We then took the user input from the search field and sent a query to Algolia to get back properly formatted and...