Skip to main content

9 posts by Rob O'Leary

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

Jun 13, 2024

Categories: ConfigurationData CascadeHow to...

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?

Jun 5, 2024

Categories: CollectionsHow to...Remote DataRSS

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.

May 26, 2024

Categories: CollectionsConfigurationGlobal DataHow to...

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.

Mar 1, 2024

Categories: BloggingCollectionsConfigurationDatesHow to...

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.

Feb 15, 2024

Categories: ConfigurationData CascadeDeploymentImages

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.

Feb 7, 2024

Categories: FiltersGlobal DataLayoutsRemote Data

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.

Jan 27, 2024

Categories: ConfigurationHow to...

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?

Jan 24, 2024

Categories: ConfigurationGlobal DataHow to...Layouts

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?

Mar 13, 2023

Categories: How to...Upgrading

Get the blog by email (or RSS)

Powered by Buttondown