🌱 LunrJS and Eleventy for search

Source

I set up client-side search with LunrJS and @eleven_ty

📕 Eleventy generates a db.json for pages in docs collection. Each entry has page url, title, headings, and sections.

🔎 Lunr indexes the db.json and handles search.

🔥 Search results link directly to right section. https://t.co/0E4Nhh1Zfe

Made by Brandon . If you find this project useful you can donate.