favicon for site or author

Rob O'Leary 13 posts

Author: ROB O'LEARY (13 posts)

Rob is a solution architect, fullstack developer, technical writer, and educator. He is travel-obsessed (one bug he cannot fix).

2025

Eleventy - todayโ€™s date as a global variable

Sometimes, you want to use today's date in a template. One example is a copyright notice that includes the current year. Not all templating languages provide a simple way to get the current date.

I moved my website to CloudFlare Pages, hereโ€™s why

I switched the hosting of my personal website from Netlify to CloudFlare Pages yesterday. Here is why.

Categories

2024

Eleventy - Zero JS charts

It'd be cool to be able to sprinkle in some charts to your website easily. And without a lick of client-side JavaScript.

Eleventy - Is it time to upgrade to version 3?

Version three of Eleventy has some exciting new features. It is now in beta pre-release. Is it time to upgrade?

Categories
Eleventy - Add CSV data file support

It would be cool to be able to drop a CSV file into a project and use it in a page. My motivation was to show bookshelves from my library database

Eleventy - Convert a RSS Feed to a collection

I want to create an archive of all my writing. One source is the author RSS feeds of blogs I wrote for. How about I turn it into an eleventy collection?

Eleventy - Merge external data with an existing collection

I wanted to make an archive of my writing, merging content I wrote for other websites with my exising 'posts' collection. Here is how I did it.

Eleventy - Group posts by year

A common organisation pattern for a blog is to group posts by year. I will show you how to do this efficiently and succinctly in JavaScript.

Eleventy - Differentiate between dev and production builds with unique favicons

It is easy to mix up the dev and production versions of a website in the browser. Let's make them look unique by using different favicons.

Eleventy - Fetch data from the Github REST API to populate a projects page

We will populate a page with data from GitHub. We will use the eleventy-fetch plugin to do this with minimal code and refresh the data every 2 days.

Eleventy - Get autocompletion and doc info in your eleventy config in VS Code

In VS Code, you don't get autocompletion in your eleventy config. You don't get info about functions when you hover over them. Here is how you add it.

Eleventy - Create a global production flag

A production flag enables you to run activites in production only e.g. minifying assets. There isn't a built-in flag in eleventy. How can we add one?

2023

Should I upgrade to Eleventy 2.0?

Eleventy 2.0 was released at the beginning of February. It has some major new features. Is it worthwhile to upgrade? Is it painful to upgrade?

Categories
Some content below may have been published before the release of Eleventy v3.0.0 (October 1, 2024). Information may have changed in newer versions. Current stable release: 3.12
Some content below may have been published before the release of Eleventy v2.0.0 (Feb 8, 2023). Information may have changed in newer versions. Current stable release: 3.12.
Some content below may have been published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.
All of the content below was published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.