page

Shortcodes 51 posts

2026

favicon for site or author

Cleaning House: Refactoring My Eleventy Config Into Modules

How I decomposed an 866-line .eleventy.js monolith into four focused modules, fixed some lurking bugs, and eliminated dead CSS and dead dependencies along the way.

Brennan Kenneth Brown (13)

favicon for site or author

Styles in Eleventy (Again)

A technical walkthrough on how I heavily optimized (and some would argue over-engineered) the CSS loading path on this Eleventy website.

Kitty Giraudel (16)

favicon for site or author

Little Dummies: Simple FPO Content Helpers

Video, links and code samples from my rapid prototyping talk for the final Eleventy Meetup.

Tyler Sticka (5)

favicon for site or author

Adding Baseline Status to My Eleventy Site

How to integrate the baseline-status web component into Eleventy (Build Awesome) with per-page opt-in loading, Nunjucks shortcodes, and self-hosted scripts. Learn why Baseline provides clearer browser support signals than Can I Use for modern web features.

Stuart Robson (1)

favicon for site or author

Precompressed HTML at the Edge: Eleventy Meets Cloudflare Workers

In this post, I will show you how I integrate Brotli level 11 compression directly into my 11ty build process to squeeze every possible byte out of my blog’s HTML.

Matt Hobbs (8)

favicon for site or author

Extending the Post Graph Plugin: Adding Clickable Links and Tooltips

A technical walkthrough of how I extended the eleventy-plugin-post-graph to add clickable links and hover tooltips showing article titles.

Brennan Kenneth Brown (13)

Categories

2025

favicon for site or author

Embedding Mastodon Posts in Eleventy: My Journey

What finally worked to embed Mastodon posts in Eleventy: a tiny shortcode that lets embed.js set height and supports a clean full-bleed layout.

Kyle Reddoch (8)

favicon for site or author

11ty Hacks for Fun and Performance

Alex Russell on browsers, standards, and the process of progress.

Alex Russell (1)

favicon for site or author

Introducing Brewventy: Your Coffee-Themed Eleventy Starter Kit

“Discover Brewventy, a customizable coffee-themed Eleventy starter with dark/light modes, SCSS-driven theming, and built-in deployment workflows for effortless site launches.”

Kyle Reddoch (8)

favicon for site or author

From Dotclear to Eleventy 4

How to migrate a blog from Dotclear on to eleventy 4- Rebuild pages and navigation

Alix Guillard (4)

favicon for site or author

exhibitionism

making a static gallery with 11ty

tlohde (2)

favicon for site or author

Quick Start: Eleventy Shortcodes for Responsive Images & Inline SVG

Quick start to production-ready Eleventy shortcodes: responsive images with @11ty/eleventy-img and inline SVG helpers you can copy-paste and use immediately.

Emiliano Soravia (2)

favicon for site or author

Creating proportional, equal-height image rows with CSS, 11ty, and Nunjucks

Hi, I’m Jeremy. I build things on the web and share what I learn on my blog.

Jeremy Robert Jones (1)

favicon for site or author

yearsSince

JavaScript that calculates the number of years that have passed since a given date, utilized in an Eleventy shortcode.

Marc Amos (1)

favicon for site or author

A Slightly Improved Image Gallery for Eleventy

Blog about programming, scientific machine learning and the related techniques and methods.

Valentin Pratz (2)

Adding base64 placeholder background images to eleventy-img

Add a low-quality webp placeholder image to the HTML of your site

Stefan Burke (4)

favicon for site or author

Dynamically creating QR codes in Eleventy

a simple shortcode to add QR codes to your posts

Al Power (9)

favicon for site or author

Using an 11ty Shortcode to craft a custom CSS pipeline

In this blog post, I'll show you how I've written an 11ty Shortcode to manipulate my CSS file, thus allowing for optimal long-life cache-control response headers. Any feedback on this build process would be greatly appreciated.

Matt Hobbs (8)

favicon for site or author

WP.SCSS

Increasingly I've been including 11ty in my WordPress builds as part of the theme. Great for static assets, such as

Rich Holman (2)

2024

favicon for site or author

Adding Random Content Using Eleventy

Learn how to use Eleventy to add dynamic, random content like film quotes or targeted Q&A sections to your website. A step-by-step guide with practical examples and code snippets.

Stu Robson (1)

favicon for site or author

Integrating Jupyter Notebook Cells in Eleventy Posts

Blog about programming, scientific machine learning and the related techniques and methods.

Valentin Pratz (2)

favicon for site or author

Dynamic social share images using Cloudinary

Automatically generate unique Open Graph images for each page of your website

Sia Karamalegos (13)

favicon for site or author

Building a Blog with Eleventy

I recently felt like getting back into blogging. But setting up and maintaining WordPress felt like more than I was looking for. I was looking for something much simpler. Preferably file-based and with Markdown support. That was my introduction to Eleventy.

Sebin Nyshkim (3)

favicon for site or author

A Versatile Markdown Shortcode for Eleventy

A blog about CSS, front-end development, the web, and beyond.

Michelle Barker (5)

favicon for site or author

Dynamic Importing with Eleventy

After organising Eleventy filters, shortcodes etc I had an idea to tidy the code even more and make it dynamic. I wanted to automatically import any new functions that were added, including new when using files.

Trevor Morris (8)

favicon for site or author

Organising Eleventy Filters, Shortcodes and more…

I work a lot with the Laravel framework, which scaffolds much of your initial setup and has conventions for where code should be stored. Starting a brand new Eleventy project from scratch doesn't give you this boilerplate and means you have to make decisions about where everything lives.

Trevor Morris (8)

favicon for site or author

Highlighting the Active Navigation Link in Eleventy Using Templates, Shortcodes, and the Page Object

Using templates, shortcodes, and the Eleventy supplied data for highlighting the current page in navigation

nonnullish (3)

favicon for site or author

Building a Web Version of Your Mastodon Archive with Eleventy

Turning your Mastodon archive into a web site with Eleventy

Raymond Camden (105)

favicon for site or author

Convert Obsidian Image Links to Nunjucks Shortcodes in Eleventy

JavaScript code to convert Obsidian image links to Nunjucks short codes.

Amy Khar (1)

favicon for site or author

Getting started with Eleventy

The missing getting-started guide for the Eleventy (11ty) static-site generator.

Sean McPherson (3)

favicon for site or author

Upgrading to Eleventy 1.0.1

If it ain’t broke, clearly you gotta fix it.

Mark Llobrera (8)

favicon for site or author

How I Eleventy

Documenting a refactor that introduced a folder structure and configuration changes, which summarises how I Eleventy.

Declan Byrd (2)

favicon for site or author

My Eleventy site setup

post collections, data files, other messiness.

anh (3)

favicon for site or author

Refactor by shortcode

I decided to take on some overdue refactoring of the 11tybundle.dev site. Here's what I did.

Bob Monsour (26)

2023

favicon for site or author

Image Optimization In Eleventy

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

equilibriumuk (21)

favicon for site or author

11ty image shortcode best practice

Simon Cox outlines how to properly set up and use the 11ty image shortcode, fixing issues with high-res sources, spacing in markdown, and rendering bugs.

Simon Cox (17)

2022

favicon for site or author

Creating image galleries in eleventy(11ty) with elventy-img

I wanted to have image galleries on my site and Eleventy didn't have any plugins that did this already. So I added support for it on my own.

Prabashwara Seneviratne (1)

favicon for site or author

Eleventy - Shortcode for Embedding Codepen

Don't know what eleventy is? Before you read further, check out this amazing series of articles by... Tagged with webdev, javascript, beginners, eleventy.

Murtuzaali Surti (5)

Categories
favicon for site or author

Using Storybook With 11ty

Storybook is great for component-driven development. This blog post shows you how to use Storybook with 11ty.

Paul Everitt (2)

2021

favicon for site or author

Enabling Emoji Shortcodes in Eleventy Markdown Files

Turn on emoji shortcodes in markdown files in Eleventy by adding the markdwon-it-emoji plugin.

Wes Goulet (1)

favicon for site or author

Reusable code snippets and components in Eleventy

Some cunning ways to use Nunjucks and 11ty shortcodes for reusable blocks

Laurence Hughes (4)

favicon for site or author

11ty Date Shortcodes and Filters

Use this shortcode and filter as a starting point for your date transformation needs.

Stephanie Eckles (21)

favicon for site or author

Add YouTube and Twitter Shortcodes to Eleventy

Jan 20, 2021 10:00 AM PST —

Michael Chan (7)

2020

favicon for site or author

Understanding Filters, Shortcodes and Data in 11ty

Sometimes it’s a little confusing what the difference between shortcodes, data and filters really is, and frankly the boundaries can become a little blurred with 11ty.

Mike (1)

favicon for site or author

Let's Learn Eleventy (11ty) - Slots, includes and shortcodes

This is the third part of the Let't Learn Eleventy series. We'll learn how to use slots, includes and shortcodes.

Rares Portan (5)

Categories
favicon for site or author

Making a Real Bonafide Plugin for 11ty

My adventures in the land of 11ty plugins, Feedbin, and NPM.

Timothy Miller (3)

Some content below may have been published before the release of Eleventy v3.0.0 (October 1, 2024). Information may have changed in newer versions. Current stable release: 3.12
Some content below may have been published before the release of Eleventy v2.0.0 (Feb 8, 2023). Information may have changed in newer versions. Current stable release: 3.12.
Some content below may have been published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.
All of the content below was published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.