The evolution of my CSS pipeline in Eleventy (part 1)
Manage your SVG files with Eleventy’s Render plugin | chriskirknielsen
Using renderFile to keep things tidy
Relational data in Eleventy · Dan Cătălin Burzo
A pattern for handling many-to-many relationships.
Slotted content in Eleventy · Dan Cătălin Burzo
Fill slots in an HTML layout with chunks of Markdown content.
GitHub - AleksandrHovhannisyan/eleventy-plugin-code-demo: Add interactive HTML/CSS/JS code demos to an Eleventy site using Markdown code blocks.
Add interactive HTML/CSS/JS code demos to an Eleventy site using Markdown code blocks. - GitHub - AleksandrHovhannisyan/eleventy-plugin-code-demo: Add interactive HTML/CSS/JS code demos to an Eleve...
Formatting dates nicely in 11ty with Luxon | Al Power
Eleventy (11ty) Tutorial
Pug with Markdown is Magic, yet underrated
What is Pug? Pug is a high-performance template engine heavily influenced by Haml and impl...
Building a modular marketing landing page with Eleventy / Part 2
This article demonstrates how to build a modular landing page (like Gutenberg blocks) with in Eleventy. Featuring shared content, and multisite scenario.
Building a modular marketing landing page with Eleventy / Part 1
My approach to building a flexible landing page in Eleventy.
Process CSS or Sass With LightningCSS | 11ty Rocks!
Use these plugins or code snippets to make CSS a first-class templating language in Eleventy and add processing with LightningCSS and/or Sass.
Using page variables in shortcodes · Issue #607 · 11ty/eleventy
Hi -- Is it possible to use page object variables inside a shortcode? I'm attempting to refactor the following njk block into a shortcode à la adamduncan/eleventy-shortcomps pattern: {%- for im...
How to pass a variable to a shortcode · Issue #298 · 11ty/eleventy
I'm trying to create a shortcode that needs to have in input variables eleventyConfig.addShortcode("twittershare", function(canonicalUrl, textToShare, viaName, hastagName) { return `&...
Eleventy Collection Schemas | 11ty Rocks!
Use this 11ty plugin to enforce a typed frontmatter schema for templates within an Eleventy collection.
Create a Custom Collection with Eleventy
If you've built sites using Eleventy, you're probably familiar with collections. Using the Configuration API allows for creating custom collections which can be useful to only show certain posts on your site.
11ty, nunjucks, tag counts - Clayton Errington
Using nunjucks to get the count of the posts for a tag.
Generate Page Content From a Global Data File Using Eleventy
There are many great features to choose from when building websites with Eleventy. One feature in particular that I find very useful is the ability to iterate over a global data file and generate page content using a templating language of your choice.
Testing GitHub Actions
When I first started creating my first GitHub Actions testing them wasn’t much of a thing. It mostly happened by doing
some form of throwing different scenarios at it and manually looking at the result. At least that was it for me. More
complicated actions had unit tests but no assertions on the workflow level. That changed when GitHub decided to change
the way an action (or anything in a workflow) can set outputs.
Photo by Tima Miroshnichenko from Pexels
Working with 11ty Collections
Create complex and nested collections to handle multiple taxonomies in a site built with 11ty
Static CMS | Open Source Content Management System
Open source content management for your Git workflow. Use Static CMS with any static site generator for a faster and more flexible web project.
Taking Eleventy into the Spiderverse with eleventy-fetch | Jeff Sikes
Let’s walk through the specifics of how to utilize the @eleventy/eleventy-fetch plugin to retrieve data from an API and use it in an Eleventy generated site.
Understanding image optimization feat. 11ty image with Ben Holmes
If you've been building websites for a while, "optimize your images" probably sounds like "eat your veggies." It's good for your website's health, it'll make...
Optimizing Images with the 11ty Image Plugin | Aleksandr Hovhannisyan
While imagery can enrich your content, it can also slow down your site if it's not used responsibly. Learn how to use the official 11ty image plugin to create optimized and responsive images.
Using PageFind with Eleventy for Search
How to use PageFind to implement search for an Eleventy site
Organizing the Eleventy config file | Lene Saile
Eleventy lets you create a file called eleventy.js to configure the SSG to your own project’s needs. This article is all about organizing your config file!
How to create a Tags collection and a Categories collection in Eleventy
I have the following two blocks of code in my .eleventy.js file
// Tags
eleventyConfig.addCollection('tagList', collection => {
const tagsSet = new Set();
collection.getA...
JKC-Codes/eleventy-plugin-code-style-hooks: An 11ty plugin that adds classes to code elements at build time using Prism so you can highlight syntax using CSS
An 11ty plugin that adds classes to code elements at build time using Prism so you can highlight syntax using CSS - JKC-Codes/eleventy-plugin-code-style-hooks: An 11ty plugin that adds classes to c...
Extending 11ty’s page variable | Adam Stoddard
I’ve had my eye on Astro, so I thought I’d take it for a spin by re-building this here website. I stuck with 11ty in the end for a variety of reasons, but th...
11ty filter to filter a collection (array) by key:value pair - used to filter on custom taxonomies other than tags (source: https://paulrobertlloyd.com/)
11ty filter to filter a collection (array) by key:value pair - used to filter on custom taxonomies other than tags (source: https://paulrobertlloyd.com/) - 11ty_contains.js
joshcanhelp/wordpress-to-11ty: Sample Eleventy structure using WordPress data
Sample Eleventy structure using WordPress data. Contribute to joshcanhelp/wordpress-to-11ty development by creating an account on GitHub.
CodeFoodPixels/eleventy-plugin-embedded-demos