Shortcodes 51 posts
2026
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.
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)
Little Dummies: Simple FPO Content Helpers
Video, links and code samples from my rapid prototyping talk for the final Eleventy Meetup.
Tyler Sticka (5)
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)
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)
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.
2025
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)
Wrapper Elements around Code Blocks in Markdown
A post by Zach Leatherman (zachleat)
Zach Leatherman (88)
TypeScript Mini Apps in Eleventy
DSri Seah (2)
11ty Hacks for Fun and Performance
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)
From Dotclear to Eleventy 4
How to migrate a blog from Dotclear on to eleventy 4- Rebuild pages and navigation
Alix Guillard (4)
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)
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.
yearsSince
JavaScript that calculates the number of years that have passed since a given date, utilized in an Eleventy shortcode.
Marc Amos (1)
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
Dynamically creating QR codes in Eleventy
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)
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
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)
Integrating Jupyter Notebook Cells in Eleventy Posts
Blog about programming, scientific machine learning and the related techniques and methods.
Valentin Pratz (2)
Dynamic social share images using Cloudinary
Automatically generate unique Open Graph images for each page of your website
Sia Karamalegos (13)
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)
A Versatile Markdown Shortcode for Eleventy
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)
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)
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)
Building a Web Version of Your Mastodon Archive with Eleventy
Convert Obsidian Image Links to Nunjucks Shortcodes in Eleventy
Getting started with Eleventy
The missing getting-started guide for the Eleventy (11ty) static-site generator.
Sean McPherson (3)
Upgrading to Eleventy 1.0.1
How I Eleventy
Documenting a refactor that introduced a folder structure and configuration changes, which summarises how I Eleventy.
Declan Byrd (2)
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
Image Optimization In Eleventy
I'm equilibriumuk, a software engineer. I write about programming & computer related topics
equilibriumuk (21)
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
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.
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)
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
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)
Reusable code snippets and components in Eleventy
Some cunning ways to use Nunjucks and 11ty shortcodes for reusable blocks
Laurence Hughes (4)
11ty Date Shortcodes and Filters
Use this shortcode and filter as a starting point for your date transformation needs.
Stephanie Eckles (21)
2020
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)
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)