Category: Eleventy

All posts for the Eleventy category, in reverse chronological order.

Eleventy Not A Supported Mime Type, posted July 9, 2023

I was working on a Eleventy Plugin starter project yesterday and when I built the sample site and opened it in the browser, Chrome gave me a bunch of errors related to hosting site assets:

Problem writing Eleventy templates, posted July 7, 2023

There is an error I see in Eleventy periodically when I'm either working in a new site or working (coding) a plugin. The problem occurs when I execute the eleventy command to generate the site. Here's the full error block:

Eleventy grey-matter engine not registered error, posted May 17, 2023

I use a npm package I created called Eleventy-New-Post to create new posts for my Eleventy sites. It saves me the work of copying a post file in the project folder then emptying it before adding the new content for the post. It also automates selecting a category for the post from an automatically generated list of all categories used by the site.

Eleventy Last Post Date Using Liquid, posted April 25, 2023

While migrating my personal blog to Eleventy, I decided to add a statistics page to the site. As part of that, I wanted to add the publish dates for the first and last posts on the site. Getting the first post date was easy:

Eleventy Pagination Before Callback Not Working, posted April 16, 2023

I've been trying to figure out how to easily build a categories page for this site that lists all categories including the number of posts per category (easily done in Eleventy) and a separate page for each category with pagination when the article list is greater than 20 posts.

Netlify Eleventy Build Failure, posted April 3, 2023

I am in the process of migrating my existing johnwargo.com site hosted on FatCow to Eleventy hosted on Netlify and while I work on the site, I setup my jmw-test.com domain so it points to the work in progress site.

Eleventy Posts Not Sorting Correctly, posted March 11, 2023

I recently switched this site to Eleventy and I noticed that my posts weren't sorting correctly on the home page. I want them sorted in reverse chronological order, but the site did the opposite.