Back to Categories

Eleventy project logo

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).

  • Added Eleventy-Fetch to the Site

    Posted Tuesday, January 13, 2026 at 07:13 AM  in Eleventy

    AI Generated   The article discusses how the Eleventy Fetch plugin can be used to cache API requests in al 11ty site. By making a few changes to the code, the plugin handles data processing automatically. This simplifies the code and reduces the need for manual data conversion. Additionally, the plugin supports custom headers and options for more complex API calls. Overall, implementing the Eleventy Fetch plugin can improve performance and reduce the risk of rate limiting when making repeated API requests on a website.

  • Eleventy Require Not Defined in ES Module Scope

    Posted Sunday, January 11, 2026 at 07:13 AM  in Eleventy

    AI Generated   I recently published a new Eleventy plugin that generates a list of links from the current page. However, when I tried to implement it on my site, which was still running on Eleventy 2.x, I ran into module problems. After upgrading to Eleventy 3.x, I still encountered errors. It wasn't until I sought help from the Eleventy Discord community that I realized I had missed fixing `require` statements within my site's modules and global data files.

  • Eleventy Adding Page Links to a Post

    Posted Saturday, January 10, 2026 at 07:04 PM  in Eleventy

    AI Generated   I created a plugin called Eleventy Plugin Markdown Post Links that adds a list of links to the top of my posts. The plugin has options for different types of lists and can generate links based on a minimum number specified. I implemented it on my site with a collapsible link list feature. You can find the source code on GitHub and a demo site showcasing the plugin's capabilities.

  • Timezone Fix for the Eleventy Stats Plugin

    Posted Sunday, January 12, 2025 at 08:10 AM  in Eleventy, JavaScript

    AI 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 Eleventy

    AI 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, JavaScript, Static Site Generators

    Describes 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, JavaScript, Static Site Generators

    In 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, JavaScript, Static Site Generators

    Describes 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, JavaScript, Static Site Generators

    I 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 Eleventy

    I 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 Eleventy, JavaScript

    In 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 Eleventy

    A 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 Eleventy, JavaScript

    I'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 Eleventy

    I 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.js

    Added 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 Eleventy

    I added a Posts per Month heatmap to the site's Statistics page today.

  • Updated Eleventy Future Post Plugin

    Posted January 11, 2024  in Eleventy, JavaScript

    In 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 Eleventy, JavaScript, Static Site Generators

    Describes 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 Development

    Describes 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.js

    When 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.

Page 1 of 3

Header image: Eleventy Project Home Page.