Collections 103 posts
Category: COLLECTIONS (103 posts)
2025
Migrating from WordPress to 11ty (Eleventy)
This site was migrated from WordPress to 11ty (Eleventy). Here's how I did it, including how to import and convert WordPress content that relies heavily...
By Alfred Reinold Baudisch (1 post)
11tyCMS: THE Eleventy Meetup appearance, metadata improvements, more post and collection goodness
## THE Eleventy Meetup! (potential for a Silex collab? ๐ ) So in late September, we appeared on THE Eleventy Meetup. It was fantastic talking with Sia *a
By 11tyCMS (11 posts)
From Dotclear to Eleventy 4
How to migrate a blog from Dotclear on to eleventy 4- Rebuild pages and navigation
By Alix Guillard (4 posts)
Data vs. Collections in Eleventy
Building a digital bookshelf with Eleventy
Managing a personal reading list with Eleventy and the OpenLibrary API
By Damian Walsh (3 posts)
Double-Pagination in Elevยญenty
Yo dawg, I heard you liked pagination, so I added pagination inside your paginated pages, so you can paginate while you paginate.
By Christopher Kirk-Nielsen (14 posts)
List blog posts grouped by year with Eleventy
A short guide on how to display blog posts grouped by year for a blog listing page in Eleventy using Nunjucks templating.
By Juha-Matti Santala (22 posts)
Building a personal digital music library with Eleventy and APIs
Building a personal digital music library with Eleventy and APIs
By Damian Walsh (3 posts)
Display Plausible Statistics in Your 11ty Blog
How to display popular and trending blog posts using Plausible Analytics and 11ty. Follow this step-by-step guide for seamless API integration.
By Joseph Jude (2 posts)
2024
HTTP 301 redirects in Eleventy
Adding Image Galleries to My Website
At last, I've gotten around to implementing image galleries.
By Nathan Upchurch (4 posts)
Oops, I built a headless frontend with 11ty
Here's how this is all put together
I've been fiddling with this site for the better part of a year now and now that it's fairly stable, I'm putting together what amounts to a public `README` (or a note to self). This post is that document.
By Cory Dransfeldt (46 posts)
Adding Cooklang Support to Eleventy Three Ways
How I added my recipes to my blog posts with cooklang and the recipe schema
By Robb Knight (20 posts)
Eleventy (11ty) year, year-month, and year-monty-day indexes
Building an album releases calendar subscription
As part of tracking the music I listen to I also keep track of upcoming albums. When I add an album, I also have fields for release dates and links.
By Cory Dransfeldt (46 posts)
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.
By Sebin Nyshkim (3 posts)
Aggregating content using collections in Eleventy
I have a bunch (too much?) content on this site and I use a collection containing a few child functions to aggregate all of it into a sitemap, search index and unified feed that gets syndicated to Mastodon.
By Cory Dransfeldt (46 posts)
Eleventy Collections from an API
I've been tinkering with a new Eleventy project and decided to fire it up using the 3 beta version.
By Trevor Morris (8 posts)
Syndicating an RSS feed to Mastodon using a Cloudflare worker
Everything shared from my site to Mastodon runs out of a single all activity RSS feed. You're welcome to subscribe to it, but it's formatted with social syndication in mind โ emojis, hashtags and truncation that match that use case. This feed is populated from a fairly verbose `processConten
By Cory Dransfeldt (46 posts)
Exclude specific tags in Eleventy using a custom filter
Exclude specific tags in Eleventy using a custom filter to display related tags on a blog post without certain tags. Learn how to implement the 'exclude' and 'limit' filters in Eleventy for tag display.
By Christian Fei (1 post)
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.
By Trevor Morris (8 posts)
Eleventy Filters in Collections
If you're building up a custom Eleventy collection using addCollection, you may need to use existing filters to create the desired data.
By Trevor Morris (8 posts)
Building a Custom Filter for Eleventy Collections
Lists are wonderful, and filters make them better. This article is about building a custom filter for Eleventy collections.
By Tom Doe (10 posts)
Twenty year celebration: Site update number three
By Peter Sefton (1 post)
Eleventy collections using the built in tags key
In Eleventy, when you place a JSON file, with the same name, as the folder, within that folder, the data from the JSON file is automatically applied to all files within that folder. This mechanism is a convenient way to apply metadata to a group of files without having to manually include it in each
By Jeremy Faucher (8 posts)
Eleventy - Convert a RSS Feed to a collection
I want to create an archive of all my writing. One source is the author RSS feeds of blogs I wrote for. How about I turn it into an eleventy collection?
By Rob O'Leary (13 posts)
Integrating a (somewhat) custom CMS with Eleventy
I've spent the last, uh, month or so inching my way towards leveraging a CMS to manage the content on this site. It started with improving my self-hosted scrobbling setup, importing yet more of my personal data and then looking around at friendlier options to manage what I'd spun up.
By Cory Dransfeldt (46 posts)
Eleventy - Merge external data with an existing collection
I wanted to make an archive of my writing, merging content I wrote for other websites with my exising 'posts' collection. Here is how I did it.
By Rob O'Leary (13 posts)
A custom collection to sort events with Eleventy
I made a custom collection with a filter to sort events by their custom date data.
By Sami Mรครคttรค (6 posts)
Supporting a full-text RSS feed
Up until now, I've only included a short description for posts in my RSS feed, but I've changed tactics so fellow RSS perverts can choose to read my stuff in their reader of choice.
By Dustin Whisman (5 posts)
Surfing The Web And Sharing What I Find
How I surf the web, manage my online bookmarks and share exciting hyperlinks with the community.
By fLaMEd (10 posts)
Notifications for New Eleventy Posts in GitLab - Part 2
An implementation for identifying new posts in an Eleventy site built on GitLab pages and sending post-specific notifications (part 2 of 2).
By Aaron Goldenthal (4 posts)
Eleventy Nested Pagination
Eleventy (the cool static site generator) has a great feature called Pagination which allows you to iterate over a list of things in chunks and produce multiple output files. As I was migrating this very site over to Eleventy, I found I needed to perform a double pagination. This is when, during pag
By Alistair Deneys (2 posts)
Notifications for New Eleventy Posts in GitLab - Part 1
An implementation for identifying new posts in an Eleventy site built on GitLab pages and sending post-specific notifications (part 1 of 2).
By Aaron Goldenthal (4 posts)
11ty collections tag links
Adding tag links to Eleventy posts for better topic navigation and solving an issue with multiple tags by iterating through them to create proper links.
By Simon Cox (16 posts)
Group posts by year in Eleventy.js
JavaScript software development tips, strategies for salary negotiation, and other helpful advice for navigating software as a career.
By Jordan Kohl (8 posts)
Surfacing most used tags in Eleventy
I made some lightweight design changes to my site, keeping things simple but moving the date up above post headers, surfacing tags below and restoring `Read more` links.
By Cory Dransfeldt (46 posts)
Draft Posts in Eleventy
Eleventy - Group posts by year
A common organisation pattern for a blog is to group posts by year. I will show you how to do this efficiently and succinctly in JavaScript.
By Rob O'Leary (13 posts)
A roundup of recent updates to my website
Where i describe the recent updates to the kinds of content you'll find on my website
By Grigรธr (2 posts)
Intro: Bukmark.club
Introducing a new side project: I built a directory of websites that provide a curated collection of bookmarks and/or links to other websites.
By Tom Doe (10 posts)
Eleventy ๐ค Immich
Low-tech Eleventy Categories
Eleventy has built-in tagging and collections capabilities that Iโm riffing on to show you how to build a super simple category system with RSS feeds for each one.
By Andy Bell (3 posts)
Getting up to Speed with Eleventy: Config and Collections
Continuing his Eleventy tutorial, David Eastman shows how to configure the system, make use of templates, what collections are, and more.
By David Eastman (2 posts)
Update: Tags Are Back
This website used to have tags. They were gone for about 3 years, but they're back now.
By Tom Doe (10 posts)
Right here, right now
A brief explanation of the way I built the "Right now" box on my homepage.
By Martin Gunnarsson (9 posts)
2023
Generating a static blog with Eleventy
From 0 to minimal blog using 11ty. I tell you the steps I took to create the minimal technical basis for this website's content.
By Tobias Fedder (7 posts)
Grouping posts by year with nunjucks in Eleventy
Generating the Firehose page on the 11tybundle site
Here's how the Firehose page of the 11tybundle.dev site is built.
By Bob Monsour (20 posts)
Making a simple Eleventy blog template
If youโve worked with TypeScript, React or Next odds are youโve encountered an update that broke a... Tagged with frontend, css, html, tutorial.
By Tomek Poniatowicz (2 posts)
Making Author Pages for an Academic Journal in Eleventy, or, How to Manipulate Collection Data in Eleventy
By Micah Torcellini (1 post)
Semi-automated hashtags for syndicated posts
I went out on a limb recently and decided to build a custom collection in Eleventy that aggregates my post tags and link tags (sourced from Matter). These tags then get appended to shared post or link titles when they're syndicated from my site.
By Cory Dransfeldt (46 posts)
CloudCannon + Eleventy
Getting CloudCannon setup with your Eleventy project is easier than you think
By Clayton Errington (19 posts)
Rethinking Categorization
This is the third spinoff post in the migration saga of this blog from WordPress to 11ty. Migrating was a good opportunity to rethink the information architecture of my site, especially around categorization. Categories vs Tags Just like most WP users, I was using both categories and tags, simply be
By Lea Verou (4 posts)
11ty: Index ALL the things!
This is a second spinoff post in the migration saga of this blog from WordPress to 11ty. On good URLs It was important to me to have good, RESTful, usable, hackable URLs. While a lot of that is easy and comes for free, following this principle with Eleventy proved quite hard: URLs that are โhackable
By Lea Verou (4 posts)
Filtering tags within Eleventy.js collections
JavaScript software development tips, strategies for salary negotiation, and other helpful advice for navigating software as a career.
By Jordan Kohl (8 posts)
Eleventy Collection Schemas
Use this 11ty plugin to enforce a typed frontmatter schema for templates within an Eleventy collection.
By Stephanie Eckles (21 posts)
Adding tag list with post count to Eleventy.js
JavaScript software development tips, strategies for salary negotiation, and other helpful advice for navigating software as a career.
By Jordan Kohl (8 posts)
How to programmatically add tags to posts in 11ty
Blog and general digital garden of the full stack programmer Simon Dann.
By Simon Dann (11 posts)
2022
Support Draft Blog Posts in Eleventy
A look at various ways of supporting draft posts with Eleventy
By Raymond Camden (104 posts)
Creating a now page archive with 11ty
Blog and general digital garden of the full stack programmer Simon Dann.
By Simon Dann (11 posts)
11ty aliases the right way
A short little tutorial on how to make redirects in 11ty that aren't awful.
By Evan Boehs (2 posts)
Zero maintenance taxonomies in 11ty
Taxonomies in 11ty have always been hard. Sure, we have collections, but for when we want advanced features like categories and authors, it all falls apart. I found a solution. Introducing taxonomies that work so well they feel (almost) native!
By Evan Boehs (2 posts)
Eleventy Custom Content Type Collections and Layouts
How-to on creating separate collections and layouts for a custom content type. In this case: cocktails!
By Josh Cunningham (2 posts)
2021
Creating and Using Eleventy Collections
Collections allow you to group templates and then sort, filter, and perform other manipulations to customize the display of your template content and data.
By Stephanie Eckles (21 posts)
Making an 11ty collection from a remote XML file
RSS is XML with a specification, however not all RSS feeds follow the spec. In this post, we process the feed as an XML document meaning we can access the extra attributes and values
By Mike Street (13 posts)
Create an 11ty collection from any RSS feed
Using 11ty global data files, we create an 11ty collection from an RSS feed. As an example, we show the latest YouTube videos on our website
By Mike Street (13 posts)
Creating an 11ty collection from a JSON API
Using 11ty Global data files, you can make collections from JSON APIs, allowing you to make whole websites from one endpoint
By Mike Street (13 posts)
Dynamic Short URLs with Eleventy
Building Ale House Rock with 11ty
I rebuilt my beer review website using a JSON API and 11ty. This is a rundown of how I tackled it
By Mike Street (13 posts)
Using 11ty JavaScript Data files to mix Markdown and CMS content into one collection
In this article, we'll mix Markdown files with external data sources to create a unified 11ty Collection.
By Bryan Robinson (15 posts)
Build an 11ty calendar to list all your posts
List all of your posts (or other collection items) in a calendar/diary format to give a timeline of your past
By Mike Street (13 posts)
Collection archive in Eleventy
Bernard Nijenhuis โข Front-end Developer โข Katwijk, The Netherlands โข Father of 3 kids โข Husband to 1 wife โข Owner of 2 cats
By Bernard Nijenhuis (8 posts)
Adding Simple Pagination to an 11ty Collection
11ty can handle pagination really well, but finding the right subset of the many pagination features can be a little difficult to figure out. Here's how I added simple previous and next links and post totals to the list pages on this blog.
By Brian Perry (1 post)
Using Template Content as Data for 11ty
Create a collection of content using any Eleventy templating language and learn to control the output to enable using that content as data.
By Stephanie Eckles (21 posts)
Group posts by year in Eleventy
2020
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.
By Tanner Dolby (2 posts)
Let's Learn Eleventy (11ty) - Collections
This is the second part of the Let't Learn Eleventy series. We'll learn how to use collections.
By Rares Portan (5 posts)
Hiding Future Content with Eleventy
How to use custom filters and collections to hide Eleventy content for the future.
By Raymond Camden (104 posts)
Eleventy: Loop through a collection from within a layout?
I have a home page which is made up of sections. Each section is currently pulled into my index.html... Tagged with eleventy, help.
By Grant Smith (1 post)
Basic custom taxonomies with Eleventy
Eleventy comes with a built-in tagging system. For a recent project, I wanted to use my own category system, which led me to dive a bit deeper into extending and configuring Eleventy.
By Jรฉrรดme Coupรฉ (10 posts)
Adding a Last Edited Field to Eleventy
2019
Adding Search to your Eleventy Static Site with Lunr
Flexible tag-like functionality for custom keys in Eleventy
Achieving tag-like functionality without using tags in Eleventy
By Laurence Hughes (4 posts)
Scheduled and draft 11ty posts
This post explains how you can add scheduled publishing to your 11ty blog (with a bonus for drafts). Before I jump in though, 11ty is a surprisingly simple sysโฆ
By Remy Sharp (2 posts)
Implementing categories
I take things apart to understand how they work, then write about what I learned. Mostly Git, static sites, LLMs, and the occasional CSS hack.
By Philip Borenstein (2 posts)
Working with collections
I take things apart to understand how they work, then write about what I learned. Mostly Git, static sites, LLMs, and the occasional CSS hack.
By Philip Borenstein (2 posts)