Skip to content

11ty Rocks!

A collection of Eleventy (11ty) starters, projects, plugins, and resources created by Stephanie Eckles (@5t3ph)

Use Eleventy Templating To Include Static Code Demos

🍿🍿🍿 14 min. read β€’ Posted on: Apr 2, 2021

Create a single-page site that composites working code examples by leveraging Nunjucks templating abilities and custom collections and shortcodes.

Read Post View Post Archive

11ty Quick Tips

Useful snippets and ideas for managing and creating 11ty projects.

Includes tips on VSCode settings, site metadata, permalinks, and more!

View All Tips

.eleventy.js Config Samples

A collection of filters, shortcodes, and other tips for extending 11ty, such as working with dates and extending built-in filters.

View All Samples


Starters, plugins, and externally hosted articles and tutorials

Build an Eleventy Site from Scratch

Build a site in 20 mins! Start from a blank project and build up to an 11ty site that includes Sass, a blog collection, and is prepared to source content from a headless CMS.

Watch the Collection

11ty.Rocks on Youtube

11ty Rocks is now on YouTube! Subscribe today so you don't miss a video. Content will be in support of topics explored here on 11ty.Rocks.

Subscribe to 11ty Rocks

11ty Netlify Jumpstart

Quickly launch an 11ty-generated static site. Includes a minimal Sass framework, and generated sitemap, RSS feed, and social share preview images.

Test Drive the Jumpstart

11ty Sass Skeleton Starter

Featuring absolutely nothing beyond a base HTML5 template and the essential setup to watch and compile your Sass alongside 11ty.

Includes minifiying and autoprefixing of styles postbuild.

Get the Starter

Smol 11ty Starter

An extremely minimal Eleventy starter to kickstart a simple multi-page site that provides a nearly opinionless foundation to continue building on.

You can preview this starter or jump right to the repo.

Use Smol Starter

Plugin: Emoji Read Time

This plugin provides a filter that displays an estimated read time for Eleventy content, optionally with an emoji visual indicator.

The plugin offers config options to change or remove the emoji, update the word-per-minute, and alter the label. A simple string is returned, so the text formatting is up to you.

The default appearance displays one 🍿 per rounded 5 minutes of estimated reading time, ex: 🍿 7 min. read

Docs for Emoji Read Time

Eleventy Plugin Template

Kickstart your 11ty plugin project with this template that includes a barebones 11ty build to test your functionality, and docs on how to test your plugin locally.

Also includes a boilerplate for your plugin README, and demonstrates setting up plugin config defaults.

Build Your Plugin

Plugin: Social Images

Based on my tutorial, this package creates dynamic images sized for social media tags (particularly Twitter and Facebook) based on your available pages. Use one of the predefined color themes, or define your own style, template, or both to customize the layout (like the ones in use on 11ty Rocks).

Configure the CLI script to run after your Eleventy build, and by default images will be created in _site/previews/ as png images. Use the CLI options to define a custom outputDir and/or a custom imageDir.

Docs and Install

Single-Page Setup (recorded livestream)

I joined Colby Fayock on Twitch in a slightly chaotic hour where I began building with Eleventy.

Check out the recording and learn more about setting up Eleventy content for use in a single-page site, including advanced template and layout features using Nunjucks.

Watch Recording

11ty Web Component Generator

Eleventy makes it possible to mix templating languages. More importantly to this generator is that we can customize the output file type and composite a file from includes.

This generator works with the inherent features of 11ty. Web components are generated within a Nunjucks (.njk) template that outputs the final .js file.

Demo the Generator

Email Generator

Generate simple, responsive email templates, with inlined CSS on build.

Use the Sass theme setup to re-brand the default template, and use the frontmatter keys for flexibilty in the layout. Check out the README for additional tips on creating emails.

Create Your Emails

11ty CSS Houdini Worklet Generator

CSS Houdini worklets require a server to run. While there are many ways to create an envirnoment for developing and testing your worklet, as a static site generator, Eleventy provides a slim way to get setup and testing quickly so you can focus on creating your worklet!

You can preview the included worklet example on this CodePen.

Details and Template

11ty RSS Reader Starter

Provide permalinks to your favorite RSS feeds to populate a personalized RSS reader Jamstack application using Eleventy.

Bonus: This application was built on Twitch livestream, and recordings will be available on the 11ty Rocks YouTube channel. The course covers advanced 11ty templating.

Get the RSS Starter

Build a Community Site With Eleventy

Based on my experience building, this tutorial will cover how to create a full-featured 11ty site including:

  • How to initialize Eleventy and create useful develop and build scripts
  • Recommended setup customizations
  • How to define custom data and combine multiple data sources
  • Creating layouts with Nunjucks and Eleventy layout chaining
  • Deploying to Netlify
Build Your Community

Twitch Scenes 11ty Starter Template

Scenes are optimal at 1280x720, and are included for:

  • Preshow, postshow, and break messages
  • Main scene with large capture area and host webcam capture
  • bonus slideshow layout

All scenes include a lower third for stream details, which also features embedded chat.

Get the Scenes Template