Dates 69 posts
Category: DATES (69 posts)
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.
By Rob O'Leary (13 posts)
Migrating WordPress To Eleventy
Software engineering leader and occasional side project hacker.
By Brian Cantoni (6 posts)
An Obsidian Template To Create A File At The Right Location
In my blog, this post you're reading right now can be found at the following path in the repo: content/blog/2025/06/03/obsidian-templater-file-creation-template.mdโฆ
By Martin Hรคhnel (14 posts)
Calculating yearsSince using a Nunjucks filter in Eleventy
yearsSince
JavaScript that calculates the number of years that have passed since a given date, utilized in an Eleventy shortcode.
By Marc Amos (1 post)
List blog posts grouped by year with Eleventy
A short guide on how to display blog posts grouped by year for a blog listing page in Eleventy using Nunjucks templating.
By Juha-Matti Santala (22 posts)
Building a seasonal veg app with Eleventy. Part 1
I wanted to learn for fun. Looking for inspo on what to build, I came across their which lists sites built with Eleventy that are top performing in Ligh...
By Yasmin (5 posts)
11ty Blog Rewrite Hotfix
hi there! please enjoy my blog of things i think are interesting
By Melanie Kat (2 posts)
2024
Eleventy (11ty) year, year-month, and year-monty-day indexes
Building an album releases calendar subscription
As part of tracking the music I listen to I also keep track of upcoming albums. When I add an album, I also have fields for release dates and links.
By Cory Dransfeldt (46 posts)
Eleventy Date Filter with Ordinals
When working with dates in JavaScript, you probably reach for a library to help you parse, manipulate and display the values. For a recent Eleventy project, I used Luxon โ the successor to the popular JavaScript date/time library Moment.js.
By Trevor Morris (8 posts)
Making a Comment System with Eleventy and Netlify
July Project Updates
An update on two projects Iโve been working onโone new and one oldโbased on some development oversights Iโve made in the past that Iโd like to prevent going forward.
By Chris Burnell (8 posts)
A custom collection to sort events with Eleventy
I made a custom collection with a filter to sort events by their custom date data.
By Sami Mรครคttรค (6 posts)
We Need to Talk About Your Eleventy Post Dates
Almost everyone using Eleventy is using blog post dates wrong
By Robb Knight (20 posts)
Group posts by year in Eleventy.js
JavaScript software development tips, strategies for salary negotiation, and other helpful advice for navigating software as a career.
By Jordan Kohl (8 posts)
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.
By Rob O'Leary (13 posts)
Intro: Bukmark.club
Introducing a new side project: I built a directory of websites that provide a curated collection of bookmarks and/or links to other websites.
By Tom Doe (10 posts)
Creating an OPML File for my Blogroll
How I'm creating OPML files for my blog, and pod, rolls so people can subscribe to all of the sites in one go
By Robb Knight (20 posts)
Right here, right now
A brief explanation of the way I built the "Right now" box on my homepage.
By Martin Gunnarsson (9 posts)
2023
Deploying my website
From running my website for myself on my machine to hosting it publicly for everyone.
By Tobias Fedder (7 posts)
Adding a git based changelog in 11ty
How to add a changelog to your 11ty pages based on commits made to your site's git repository.
By James Doc (3 posts)
Eleventy Post Graph Plugin
Generate Github-style post distribution graph for your blog posts in Eleventy
By Robb Knight (20 posts)
Grouping posts by year with nunjucks in Eleventy
Eleventy Date-only Filter
I noticed recently that the site's stats page displayed the first and last post dates with time information even though the values only contained dates. I created a simple Eleventy Filter to trim them to date only with the format I wanted. This post shows how I did it.
By John M. Wargo (45 posts)
Sorting and Dating 11ty Posts by Name
Organize and automate your 11ty blog's post structure with ISO dates and some quick JavaScript.
By Benny Powers (8 posts)
11ty: Index ALL the things!
This is a second spinoff post in the migration saga of this blog from WordPress to 11ty. On good URLs It was important to me to have good, RESTful, usable, hackable URLs. While a lot of that is easy and comes for free, following this principle with Eleventy proved quite hard: URLs that are โhackable
By Lea Verou (4 posts)
Removing Luxon From Eleventy
I'm equilibriumuk, a software engineer. I write about programming & computer related topics
By equilibriumuk (19 posts)
Generating Slug Using Date & Title In 11ty
I'm equilibriumuk, a software engineer. I write about programming & computer related topics
By equilibriumuk (19 posts)
File Last Modified Is Available
MooseDog Studios - Where Convention Takes A Back Seat To Quality
By Robin Hoover (4 posts)
From Jekyll & Hugo to Eleventy
Custom date formatting in Eleventy.js
JavaScript software development tips, strategies for salary negotiation, and other helpful advice for navigating software as a career.
By Jordan Kohl (8 posts)
Better Looking Dates in Eleventy: Jan 01 2023 --> Jan 1st 2023
By default, the default readableDate in Eleventy will output dates like: Dec 03 2022. Let's do better... Tagged with ui, design, webdev, productivity.
By Daniel Morgan (1 post)
2022
Drafts and timestamp-based publishing in Eleventy
Exercise more control over when, and if, your posts appear.
By Bryce Wray (26 posts)
Quick LiquidJS + Eleventy Example - All Posts
Some quick things I learned about Liquid when building an "All Posts" page.
By Raymond Camden (104 posts)
Related Content by Day of Year in Eleventy
A demonstration of how to get content published on the same day in the past.
By Raymond Camden (104 posts)
Building blocks for my first Eleventy site
Different choices that go into building an Eleventy website from scratch.
By Sami Mรครคttรค (6 posts)
2021
11ty Date Shortcodes and Filters
Use this shortcode and filter as a starting point for your date transformation needs.
By Stephanie Eckles (21 posts)
Dates in Eleventy
Bernard Nijenhuis โข Front-end Developer โข Katwijk, The Netherlands โข Father of 3 kids โข Husband to 1 wife โข Owner of 2 cats
By Bernard Nijenhuis (8 posts)
Group posts by year in Eleventy
Grouping blog posts by year in Eleventy
Create an archive page grouped by year (or anything you want!) using 11ty's built in pagination and a modified collection.
By James Doc (3 posts)
2020
Tracking Posts by Week in Eleventy
A quick hack to get the number of posts written per week in Eleventy
By Raymond Camden (104 posts)
Eleventy static-site generator: Making Liquid play nice with dates
Home, home on the web, where the links and the hypertexts play
By Justus Grunow (2 posts)