- Chris Coleman - “Using Eleventy filters in Directory Computed Data” - shows how a switch to using
11tydata.js
instead of JSON for data directory files allows regular JS and therefore more complex logic to work out assigning values for computed data. - Benny Powers - “SVG Icon Sprites in Eleventy” - uses a technique of creating a collection out of a directory of SVG icons and programmatically turning those into an SVG sprite, and a clever way to add the sprite only once per page where at least one of the associated shortcodes is used.
- Vadim Makeev - “CSS and JavaScript as first-class citizens in Eleventy” - shows how to use the v2 additions of
addTemplateFormats
andaddExtension
to process CSS and JS. - David Darnes - “Compile JavasScript and Sass in Eleventy using Uglify JS and Sass lib” - is a gist that gives a little different take from Vadim’s article but using the same 11ty features.
- Christopher Kirk-Nielsen - “Eleventy Asset Pipeline: Precompiled Assets without Gulp” - demonstrates an alternative to the previous two articles with the use of
eleventy.before
as well as addressing a bit different goals. - Ashur Cabrera - “Importing external components in WebC via NPM” - explores using
webc:import
to share WebC components between projects. - Lene Saile - “Organizing the Eleventy config file” - provides some excellent considerations and techniques for taming your 11ty configuration setup.
- Also from Lene - “Eleventy Excellent” - looks like a truly excellent starter to get an 11ty site going quickly!
- Eleventy Blog / Zach Leatherman - “The very first beta release of Eleventy v2.0” - the official announcement of the v2 Beta!
- 11ty Rocks / Stephanie Eckles - “New Features and Upgrade Considerations for Eleventy v2.0.0” - provides a little more context on the major feature additions, breaking changes, and various enhancements to help you prepare for v2.
- Bryan Robinson - “11ty Second 11ty” - a YouTube series where Bryan shows off features of Eleventy in snack-size videos.
Add your own original article on a unique 11ty topic to the 11ty Rocks Community Resource page!