Issue 8 - A new author, a scroll-to-top button, and some refactoring
May 31, 2023 · 3 minutes to read
Welcome to Issue 8 of the 11ty Bundle...a smattering of stuff.
TL;DR We've got a new author with a bunch of posts, I did some refactoring under the hood here, added a scroll-to-top button to the site, and we've lost some blog posts.
While I was traveling over the Memorial Day weekend, I happened upon a new blog post about Eleventy. And once I looked at the site, I was pleased to find 10 posts about Eleventy. These are by John M. Wargo and several of them are listed below. I expect that he'll be writing more about Eleventy in the future.
There are a couple of other posts to highlight. First, There's an excellent review of Bryan Robinson's book Eleventy by Example, by Raymond Camden. And second, speaking of Raymond Camden...I had not seen this before, but he wrote an excellent piece called "A Complete Guide to Building a Blog with Eleventy," which he updated in March of this year. If you're just getting started with Eleventy, this would be yet another great place to start.
I also spent some time worrying about some of the code under the hood of the site. I'll be brief...I had placed much of the filtering of the database records throughout various templates. It turned out that some filters were being used more often than needed and there was way too much duplication...refactor time. So I decided to collect a lot of that filtering and added it to the javascript where I ingest the data from either Airtable or the cache. Now that code returns many of the item counts that you see as well as selected sets of records. It resulted in both simpler error handling and much simpler templates...both good things.
You may (or may not) notice that there's now a scroll-to-top button in the lower right-hand corner of your display. In the event you go way down into the Firehose or a long list of category posts and want to come up for air, it floats you to the top.
Lastly, the total post count has dropped a tad. The site of one of our authors has gone 404 and a few other blog posts seem to no longer exist. Now I need to figure out how to instrument the site to detect this automatically and prevent bad links from being published.
Until next time...
Recent releases
No new releases since the last issue.
Posts from around the web since the last Bundle issue
Migrating This Site from Joomla To Eleventy
Describes the process I used to migrate a 14 year old Joomla site (this one) to Eleventy and the...
John M. Wargo · May 30, 2023
Categories: Migrating to Eleventy
Eleventy Displaying Posts from Another Site
I wanted to pull the most recent articles from an Eleventy site into another Eleventy site, so I...
John M. Wargo · May 29, 2023
Categories: How to... Remote Data
Eleventy by Example, by Bryan Robinson
A review of "Eleventy by Example", by Bryan Robinson
Raymond Camden · May 18, 2023
Categories: Getting Started
Automating Eleventy Post Creation
Describes a utility I created to automate creating a new post in an Eleventy site.
John M. Wargo · May 11, 2023
Categories: How to...
I wanted to add a statistics page to this site, so I created an Eleventy plugin to do it. This...
John M. Wargo · May 10, 2023
Categories: How to...
Meta Description and Keywords in Eleventy
This article describes how I added HTML Keywords to an Eleventy site.
John M. Wargo · May 1, 2023
Categories: Configuration How to...
A Complete Guide to Building a Blog with Eleventy
Raymond Camden · Mar 4, 2023
Categories: Blogging Getting Started How to...
Built with Eleventy
Just a few of the many sites built with Eleventy. I just share a few that come across my limited-scope radar. If you want to see more, check out the Eleventy Leaderboards.