Back to Categories
Eleventy
Page 1 of 3
Articles related to the Eleventy Static Site Generator (the tooling used to produce this site). This page lists all posts in the category, in reverse chronological order.
Note: An AI Generated pill displayed in the list below indicates that the post description displayed on the page was generated from the post content using Generative AI (GenAI). The post content itself was written by a human (me).
Timezone Fix for the Eleventy Stats Plugin
Posted Sunday, January 12, 2025 at 08:10 AM in EleventyAI Generated I noticed a bug in my Eleventy Plugin Post Statistics where posts published on January 1st were counted as being published on December 31st of the previous year. The issue stemmed from the plugin converting dates to UTC. To fix it, I added the timezone offset to the date values, converting them to the local time zone. I also had to adjust some code to resolve a TypeScript compiler error.
Eleventy Post Stats Plugin Broken
Posted Saturday, January 11, 2025 at 08:11 PM in EleventyAI Generated I started blogging in 2025 and noticed a problem with my Eleventy Plugin Post Statistics. The plugin doesn't include posts published on January 1st in the statistics.
Eleventy Packages Page
Posted Saturday, January 4, 2025 at 09:07 AM in Eleventy, Static Site GeneratorsDescribes an Eleventy global data file I created that allows me to easily display a list of my npm packages on this site.
Eleventy 3 Upgrade Fixed
Posted Monday, December 30, 2024 at 11:05 AM in Eleventy, Static Site GeneratorsIn my Eleventy 3 Migration post yesterday, I described a process I used to migrate several Eleventy sites from V2 to V3. As part of that process, I was able to skip some important upgrade/migration steps because my development and deployment environments run Node.js version 22. Specifically, even though Eleventy 3 expects all modules to use ESM, a feature in Node.js 22 allowed my sites to build and deploy successfully without it. This post describes how I completed the successfully migration to ESM.
Displaying Eleventy Version On A Page
Posted Sunday, December 29, 2024 at 11:25 AM in Eleventy, Static Site GeneratorsDescribes how I display Eleventy build information on this site and how I had to change the process for Eleventy 3.0.
Eleventy 3 Upgrade
Posted Sunday, December 29, 2024 at 10:11 AM in Eleventy, Static Site GeneratorsI run quite a few sites on Eleventy; you can see the complete list on this site's Sites area. The Eleventy team released version 3.0 a while back and I finally got around to upgrading some of the sites. This post describes the process I used to migrate a couple of the sites.
Adding Sidebars to an Eleventy Site
Posted Sunday, November 3, 2024 at 02:43 PM in EleventyI decided recently that one of the things missing from this site was the ability to have call-outs in the content. My buddy Scott Good was here this weekend working on something in my workshop, so, while we waited for some glue to dry, I asked him to add some call-out CSS to the site. After he left, I added some code to the site to make it all work.
Added Timestamp to Posts
Posted Sunday, April 7, 2024 at 07:08 PM in EleventyIn my previous post, I described how I updated my Eleventy New Post utility to add a
timestamp
property to new post's front matter. With that in place, I updated the site's Home Page, Articles Page and at the top of every Post. I encountered a little issue with that implementation related to time zones, so I decided to dig deeper into the implementation on this site and how I solved the time zone issue.Added Timestamp to My Eleventy New Post Utility
Posted Saturday, April 6, 2024 at 08:10 AM in EleventyA user of my Eleventy New Post utility submitted a feature request yesterday suggesting I add the post's timestamp to the generated post instead of just the date.
Eleventy Navigation Set URL to First Item in Collection
Posted March 24, 2024 in EleventyI'm building a new web site for a software company I created using 11ty, and one of the things I want to do in this site is have the Products menu item open the product page for the first product in a sorted list of product pages.
New Post Skipping Category Prompt
Posted February 11, 2024 in EleventyI added the ability to skip Category prompt in my Eleventy New Post utility.
Added Folder Selection My New Post Utility
Posted February 6, 2024 in Eleventy, Node.jsAdded an enhancement to my Eleventy New Post utility to support choosing the target folder during post creation.
Added Monthly Posts Heatmap To The Site
Posted January 15, 2024 in EleventyI added a Posts per Month heatmap to the site's Statistics page today.
Updated Eleventy Future Post Plugin
Posted January 11, 2024 in EleventyIn yesterday's post, I announced my Future Post plugin for Eleventy and mentioned that I didn't configure the plugin so it would render posts with a future date when testing the site. Since then I found some time to look at the implementation for that and decided to go ahead and add it to version 0.0.2 which I published today.
Hiding Future Posts in Eleventy
Posted January 10, 2024 in EleventyDescribes how to hide posts with a future publishing date in an Eleventy site.
Leaked Credentials from Google Cloud Project
Posted January 6, 2024 in Cloud Development, Eleventy, Web DevelopmentDescribes an issue I had connecting Google Analytics to this site; Google Cloud Security complained mightily about access credentials I stored in the site's public repo.
Updated My Eleventy New Post Module
Posted December 30, 2023 in Eleventy, Node.jsWhen I published my Eleventy New Post package, it only supported selecting a single post category. That approach was fine for a while, but I noticed that I started assigning multiple categories to posts recently and the utility wasn't helping me as much as it could.
Eleventy GitHub Repositories Plugin
Posted December 27, 2023 in Eleventy, Static Site GeneratorsAs I wrote in Adding a GitHub Repository List to an Eleventy Site and Adding a GitHub Repository List to an Eleventy Site (part 2), I've been playing around with generating a GitHub repository list in an Eleventy site.
Eleventy File List Plugin
Posted December 27, 2023 in Eleventy, Static Site GeneratorsDescribes an Eleventy plugin I created that enables a site to display a list of downloadable files.
Adding a GitHub Repository List to an Eleventy Site (part 2)
Posted December 23, 2023 in EleventyAn extension of the previous post that shows how to add a list of GitHub repositories to this site using authenticated access to the GitHub REST API.
Page 1 of 3
Header image: Eleventy Project Home Page.