Using 11ty to build websites
I switched this site to 11ty after many years of using different cms's with mysql databases, the best of the bunch was Craft, and the last one using a flat file database Kirby which I still think it is brilliant and would still be using it if I had not discovered 11ty.
11ty runs on Javascript, which I have never been a fan of but it just works so well and is so extensible. There is a learning curve, as with anything of course, but there is also a great community helping each other just like back in the early 2000's - it has that pioneer vibe.
I have written several pieces about 11ty as an archive for myself so I can go back and understand what I did, though often not why, and hopefully they will help and encourage other people to give 11ty a go.
Posts about Using 11ty to build websites
-
Creating a modular approach to json schema in an eleventy website
on Tue, Oct 28, 2025 ~ Post | SEO | Eleventy | Featured
I wanted a modular and automated way to add json schema to my personal website so built a set of templates and some simple logic to populate the schema. -
Creating Cloudflare redirects
on Wed, Oct 8, 2025 ~ Shorticles | Web | Eleventy
Notes on optimal ways to pull together a redirects file suitable for a Cloudflare hosted website. -
Creating a blogroll page from Mastodon bookmarks
on Fri, Apr 4, 2025 ~ Post | Web | Eleventy
How I built a page with a list of the toots I have bookmarked in Mastodon. -
11ty Git Commit Messages
on Sat, Dec 14, 2024 ~ Shorticles | Eleventy
Stealing Angie's Commit messages for my 11ty needs ensuring that I have a more robust method of tagging my commits so that they can be easily differentiated. -
11ty upgrading node in netlify
on Tue, Oct 15, 2024 ~ Shorticles | Eleventy
Simon Cox fixes a failed 11ty build on Netlify by identifying a mismatch in Node versions, updating config settings and documenting the troubleshooting process. -
11ty collections tag links
on Sun, Mar 17, 2024 ~ Shorticles | Eleventy
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. -
Cleaning up the 11ty config
on Sun, Oct 29, 2023 ~ Shorticles | Eleventy
Learn how to organize your 11ty config file by creating separate plugin files. Improve maintainability and readability of your Eleventy project structure. -
11ty draft posts
on Fri, Sep 1, 2023 ~ Shorticles | Eleventy
Setting a post to draft in 11ty while writing -
Solving a date display issue in 11ty templates
on Fri, Jul 7, 2023 ~ Shorticles | Eleventy
Fixed a date display issue in 11ty templates by applying the toDateString to format update dates properly to comply with Google’s sitemap requirements. -
11ty image shortcode best practice
on Tue, Jun 6, 2023 ~ Shorticles | Eleventy
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. -
11ty conditional canonical
on Mon, Feb 13, 2023 ~ Shorticles | Eleventy
How I created a conditional canonical tag in my 11ty nunjucks base template. -
Remove 404 file from sitemap.xml in 11ty
on Mon, Feb 6, 2023 ~ Shorticles | Eleventy
How to remove your 404 file from you mxl sitemap. -
11ty starter video
on Fri, Feb 3, 2023 ~ Shorticles | Eleventy
The video tutorial I started with. -
Using 11ty to build websites
on Wed, Jan 1, 2020 ~ Eleventy
Simon loves building out websites and loves using 11ty to do it!