Global Data 88 posts
2026
Recently Played: bringing back my Last.fm component
How I rebuilt my old Last.fm widget as an Eleventy WebC component with server-rendered HTML, client-side polling, and localStorage caching.
Martin Hicks (3)
Create pages from JSON files with Eleventy
How I built UltiGameMate with Eleventy and Supabase
Learn how I built UltiGameMate using Eleventy and Supabase, combining JAMstack with dynamic features.
twtxt: Simple, Decentralized Microblogging with status.lol
I set up an effortless sync between my status.lol updates and a twtxt feed, creating a bridge between IndieWeb tools and classic decentralized microblogging.
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.
Rob O'Leary (13)
I built a tiny RSS generator for my Advent of Code solutions
My current publishing setup for my notes doesn’t allow separate feeds for different categories so I built a small tool for my website to add entries manually to a separate feed with a single CLI call.
Juha-Matti Santala (23)
Updated Bookmarks
I've been using raindrop for my bookmarks and updated my bookmarks page
Clayton Errington (20)
From Dotclear to Eleventy 4
How to migrate a blog from Dotclear on to eleventy 4- Rebuild pages and navigation
Alix Guillard (4)
Leveraging Eleventy’s custom data file format feature for simpler game scoring format
While building a website for our Pokémon TCG tournament series, I discovered a new handy tool within Eleventy to enable custom data formats.
Juha-Matti Santala (23)
How I Built This Website (With 11ty & CraftCMS)
Matt Richards - Senior Staff Product Engineer / Engineering Lead based in Berlin.
Matthew Richards (1)
Cache-Busting Assets in Eleventy
Generate a sourcemap and add it to Eleventy’s global data.
Data vs. Collections in Eleventy
Providing next event as API with Eleventy’s Global Data Files and Netlify Functions
I wanted to provide a programmatic access to the next event in our community’s event calendar and combined Eleventy and Netlify Functions to achieve it.
Juha-Matti Santala (23)
Tweaking my 11ty blog to link to the Mastodon post defined in an Org Mode property
Sacha Chua (4)
Generating absolute URLs in my RSS feed(s)
My RSS feeds are generated by 11ty at build time from a Liquid.js template. When I wrote posts and link elsewhere on my site I use a bookmarklet to capture the URI for linking. To ensure I have absolute URLs in my feeds, I use a filter to convert said
Cory Dransfeldt (46)
How I Built Shopify Theme Vitals using 11ty and CrUX
Building a site that shows real-user web performance data by Shopify theme using HTTP Archive, the Chrome User Experience Report, BigQuery, Node, and 11ty
Sia Karamalegos (13)
Building a personal digital music library with Eleventy and APIs
Building a resume website with eleventy
i share how i built a fully customizable resume website with eleventy, complete with seo-friendly features and pdf generation.
Keith Kurson (3)
11ty Meetup - How I built my Books page
I presented at the 11ty Meetup on how I built my Books page. Here's the video and a link to a PDF of the slides.
Bob Monsour (26)
Building a Quiz System With Eleventy
Remember when internet quizzes were a thing? I wanted to bring them to my website.
Nathan Upchurch (4)
Managing My Books Data
Why do something manually (that takes a few seconds to do), when a script (created over the course of several hours) can do it for you?
Spencer Harston (2)
Creating a Books Page
How and why I decided to create a Books page to keep track of my reading.
Spencer Harston (2)
WP.SCSS
Increasingly I've been including 11ty in my WordPress builds as part of the theme. Great for static assets, such as
Rich Holman (2)
How I built the Books page
I went live with my Books page a short while ago. Here's how I built it.
Bob Monsour (26)
2024
Accessible Eleventy Gallery
An adaptation of Kalechip's Static Accessible Gallery Generator for Eleventy.
Sainthood (1)
Oops, I built a headless frontend with 11ty
Here's how this is all put together
I've been fiddling with this site for the better part of a year now and now that it's fairly stable, I'm putting together what amounts to a public `README` (or a note to self). This post is that document.
Cory Dransfeldt (46)
Building My Resume in HTML using Eleventy
Michael Engen (1)
Open Graph Metadata and Images in Eleventy Made Easy
Blog posts are meant to be shared. When sharing links, you’ll often see a preview on social media and instant messengers. But how does it work and how can you do it with Eleventy?
Sebin Nyshkim (3)
11ty meetup: Tracking and displaying music history
I got to speak at the 11ty meetup today about the music tracking contraption I've built into my site. I have a fairly detailed post on how I built it and [another on the method I'm using to render dynamic media (read: m
Cory Dransfeldt (46)
Building a Blog with Eleventy
I recently felt like getting back into blogging. But setting up and maintaining WordPress felt like more than I was looking for. I was looking for something much simpler. Preferably file-based and with Markdown support. That was my introduction to Eleventy.
Sebin Nyshkim (3)
Using Environment Variables in Eleventy Content Pages
Explains how you can use environment variables in Eleventy content pages
Simple Eleventy 3 Excerpts
Sometimes it makes sense to write a unique excerpt. But sometimes the beginning of the page content works well enough, which is why many…
Tyler Sticka (5)
Eleventy Experiment - Salesforce User Directory
Eleventy Experiment: Salesforce User Directory This is a simple experiment to see if I can use Eleventy to generate a small user directory from a Salesforce SOQL query. Spoiler - it works! npm I’m using the JSForce library to connect to Salesforce and run a SOQL query to get a list of users. I’m the
Jeff Sikes (2)
GitHub Pages Reboot With 11ty
I've had my repos listed on my GitHub pages for 14 years, it was time to revisit it.
John Hobbs (4)
Building a Web Version of Your Mastodon Archive with Eleventy
Adding the New Mastodon Link Attribution Meta Tag
Chris McLeod is a software developer with over 20 years of experience. Sometimes he writes about it.
Chris McLeod (7)
Adding a Photo Stream to an Eleventy Site
New Reading page, powered by the Airtable API
A walkthrough on how I used Eleventy and the Airtable API to power a bookshelf pages with books I’ve read
Melanie Richards (1)
Umami API Top 10 Pages
Virtual Templates in Eleventy
In Eleventy 3.0, virtual templates enable plugin authors to publish and share dynamic templates.
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.
Rob O'Leary (13)
Using Eleventy to Gobble Up Everything I Do Online
A blog post about how my site works based on a talk I did at the Eleventy meetup
Robb Knight (20)
Using B2 as a JSON data store
My links page is powered by the Readwise Reader API but because there are, quite reasonably, rate limits in place, I've gone ahead and reduced the page count I fetch on each build and cached older link data from past builds in a B2 bucket.
Cory Dransfeldt (46)
How to connect Eleventy and Storyblok
This is a step-by-step tutorial on how to query data from Storyblok to use it in an Eleventy project.
Estela Franco (4)
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.
Rob O'Leary (13)
Community websites with Eleventy
With Eleventy’s data files, I’ve come up with a good setup to build landing pages for communities that organize events.
Juha-Matti Santala (23)
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?
Rob O'Leary (13)
Learning New Tricks
I never had a hobby. If someone’s ask me if I have a hope right now I might say I do and it is creating little projects to learn new things on the web. My latest learning was Eleventy a static generator website built in Node / Javascript. One thing that I loved about Eleventy is the global data file
Fetching Package Dependents from GitHub
Using linkedom to grab all repositories that are depending on my post graph plugin
Robb Knight (20)
Adding webmentions to my site
I had told myself that I wouldn't do this...but, seeing them on other people's sites changed my mind.
Bob Monsour (26)
Hiding Future Posts in Eleventy
Describes how to hide posts with a future publishing date in an Eleventy site.
John M. Wargo (47)
2023
Programmatically importing your Last.fm listening data to ListenBrainz
I love Last.fm, but in the interest of redundancy, Ive started programmatically importing my listening data from Last.fm into ListenBrainz.
Cory Dransfeldt (46)
Using Wordpress as a headless CMS for Eleventy
Integrating WordPress Posts with 11ty
Scratch that...use the Google Sheets API
Just generating a json file from Google Sheets was not good enough. I had to use the API.
Bob Monsour (26)
2022
Track data across builds in 11ty
11ty Second 11ty: Global Data files (JS and JSON)
In these two videos, we take 110 seconds each to discuss how to use 11ty's Global Data files to pull static data with JSON and dynamic (at build time) data with JavaScript.
Bryan Robinson (15)
Reading Comic Books in the Jamstack
2021
Configuring Web Fonts in 11ty with Global Data
Use global data in 11ty to create a single configuration for fonts that you can reference in your templates and CSS.
Eleventy 1.0 - Global Data via Plugins Example
A followup on my post concerning Eleventy's new addGloblData feature
Raymond Camden (105)
Eleventy 1.0 - New Option for Global Data
Using PDFs with the Jamstack - Building a Document Viewer
Using Adobe PDF Services to build a document viewer for your Jamstack site
Raymond Camden (105)
An Adobe PDF Embed Plugin for Eleventy
Page Level URL Fetching with Eleventy
Generate Page Content From a Global Data File Using Eleventy
There are many great features to choose from when building websites with Eleventy. One feature in particular that I find very useful is the ability to iterate over a global data file and generate page content using a templating language of your choice.
Tanner Dolby (2)
Creating an 11ty collection from a JSON API
Using 11ty Global data files, you can make collections from JSON APIs, allowing you to make whole websites from one endpoint
Mike Street (13)
Creating pages from data with Eleventy
Eleventy has the ability to generated multiple pages from a structured data source, either static JSON or JSON dynamically generated by JavaScript code.
Building a Database Driven Eleventy Site
Using PDFs with the Jamstack
I Finally Understand Eleventy's Data Cascade
Where does Eleventy get all of its data? Which data overrules other data? I’ve documented my whole mental model of Eleventy’s data cascade.
Ben Myers (6)
Site Metadata
A useful technique to manage site metadata (title, description, url, etc) for ease of retrieval throughout templates and content.
Stephanie Eckles (21)
Accessing Eleventy Data on the Client Side
2020
Using Airtable with Eleventy
Using Eleventy data files for frequently used links
Have a set of frequently referenced links? A global data file can come in handy.
Dana Byerly (8)
Migrating from Node and Express to the Jamstack - Part 1
Easily Use Design Tokens In Eleventy
Building a website with a static site generator, part 2: Eleventy
In this post, we're gonna take a deeper look into Eleventy which takes care of building the website by combining layout templates with blog post data from Markdown files.
Juha-Matti Santala (23)