10
Creating Custom 11ty Plugins
In this book, we’ve created four separate projects that have put 11ty through its paces. While most of it has been a fun exercise in coding, doing the same tasks over and over again in your regular work is less efficient than is optimal. In this chapter, we’ll take much of the knowledge earned in the course of this book and put it all together into a series of 11ty plugins that you can use in any of your projects and publish for others to use, as well.
We’ve used plugins multiple times throughout the book but haven’t dived into what it takes to make one. The process is not too different from the work we’ve done in creating sites with 11ty. In this chapter, we’ll discuss what a plugin is, and convert reusable features ...
Get Eleventy by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.