Create an 11ty plugin

It would be great if there was an 11ty plugin for instant search.

Hi there,
Thanks for reaching out to us.
Could you provide more context?
Do you want a plugin for data indexing? or for front-end?

If former, there are good resources:

https://nicolas-hoizey.com/about/the-website.html

What do you think?
Let me know how it goes and if you have any question.

I already implemented my 11ty solution but having a backend plugin similar to the Jekyll one would be nice for users.

Thanks for the feedback. We’ll keep it in mind.
Would you share your experience a little if you don’t mind?
What was the hardest or the most cumbersome part when you did it by yourself?

The hardest part was getting the data out of 11ty. I had to write a JSON script to loop over my page titles, descriptions and then pull in the first 5000 chars of text so there was something to match.

I can see this as being something hard. I wrote my scripts using nunjucks. but 11ty accepts multiple templating languages.

Thanks for sharing your experience. We cannot promise anything about 11ty plugin right now, but we’ll keep an eye on the space.
Have a good day!

1 Like