Dark Mode
A flicker-free light/dark theme toggle built on CSS custom properties, a data-theme attribute, and localStorage.
Every Eleventy implementation pattern on this site, in one place — real, working, and self-contained.
A flicker-free light/dark theme toggle built on CSS custom properties, a data-theme attribute, and localStorage.
A recursive, front-matter-driven navigation tree using @11ty/eleventy-navigation — no hand-maintained nav array.
Auto-generated tag pages built from a custom collection — every demo tag gets its own page with zero…
Build-time code highlighting with @11ty/eleventy-plugin-syntaxhighlight — zero client-side JavaScript.
A heading-extraction filter that builds a page's table of contents from its own rendered HTML — no separate…
A hand-rolled, dependency-free client-side search: a build-time JSON index plus a small scored-match script.
A standards-compliant Atom/RSS feed for the blog, generated with @11ty/eleventy-plugin-rss.
A tiny, explicit breadcrumb-trail macro used at the top of every demo and blog post.
Splitting a big collection into numbered pages with Eleventy's built-in pagination feature.
A custom collection that merges two different content types into one sorted list.
A working contact form on a static site, using Netlify Forms instead of a backend.
Generating multiple image sizes and formats at build time with @11ty/eleventy-img.
Full-text search across the whole site, built by indexing the actual HTML after the build finishes.
Letting the browser pick between AVIF, WebP, and JPEG with a single <picture> element.
Real Lighthouse scores rendered as static badges, refreshed weekly by a scheduled GitHub Action, no client-side API calls.
The 'N min read' shown on every demo and post here, computed at build time by eleventy-plugin-reading-time.
A real page-view counter backed by a Netlify Function and Netlify Blobs, no third-party analytics account needed.
Eleventy's global _data files, explained using this site's own real data files as the example.
How this site turns a file into a Nunjucks filter automatically, using a new real pluralize filter as…
How a file becomes a Nunjucks shortcode on this site, using a real icon shortcode that replaced inline…
A responsive image grid sourced from the Pexels API, processed at build time with @11ty/eleventy-img.
A Pinterest-style masonry layout using plain CSS multi-column layout — no JavaScript, no masonry library.
A real @media print stylesheet, loaded site-wide — strips chrome, forces light mode, and prints link URLs.
A real copy button on every code block on this site, added by one script, with no per-page…
Three real accessibility techniques already running on this site: a skip link, visually-hidden text, and a genuine bug…
A real sitemap.xml with two genuine Eleventy gotchas baked into how it's built — one about pagination, one…
Real structured data on every demo page and the listing page, with a script-injection risk most tutorials skip.
Real tests for this site's pure filters, run live at build time and gating every real pull request.