Dates 69 posts

Category: DATES (69 posts)

2025

favicon for site or author

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)

favicon for site or author

Migrating WordPress To Eleventy

Software engineering leader and occasional side project hacker.

By Brian Cantoni (6 posts)

11tyCMS: Image uploads and design enhancements

So it's been a little while! Nope, this project is NOT inactive! Just slow moving. Work and life has been taking its toll. Since we last spoke, I've gotte

By 11tyCMS (11 posts)

Categories

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

Replacing an imported dependency with vanilla javascript

By Thomas Rigby (8 posts)

favicon for site or author

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)

favicon for site or author

blog setup

notes about the 11ty + obsidian setup behind this blog

By actuallysomecat (4 posts)

favicon for site or author

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)

favicon for site or author

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)

Categories

11ty Blog Rewrite Hotfix

hi there! please enjoy my blog of things i think are interesting

By Melanie Kat (2 posts)

Categories

2024

favicon for site or author

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)

favicon for site or author

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)

Categories
favicon for site or author

Making a Comment System with Eleventy and Netlify

How I managed to add a comments system to my static blog.

By Cascade (1 post)

favicon for site or author

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)

favicon for site or author

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)

favicon for site or author

We Need to Talk About Your Eleventy Post Dates

Almost everyone using Eleventy is using blog post dates wrong

By Robb Knight (20 posts)

Categories
favicon for site or author

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)

favicon for site or author

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)

favicon for site or author

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)

favicon for site or author

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

favicon for site or author

Deploying my website

From running my website for myself on my machine to hosting it publicly for everyone.

By Tobias Fedder (7 posts)

Categories
favicon for site or author

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)

favicon for site or author

Eleventy Post Graph Plugin

Generate Github-style post distribution graph for your blog posts in Eleventy

By Robb Knight (20 posts)

Categories
favicon for site or author

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)

Categories
favicon for site or author

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)

Categories
favicon for site or author

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)

favicon for site or author

Solving a date display issue in 11ty templates

Fixed a date display issue in 11ty templates by applying the toDateString to format update dates properly to comply with Googleโ€™s sitemap requirements.

By Simon Cox (16 posts)

Categories
favicon for site or author

Removing Luxon From Eleventy

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

By equilibriumuk (19 posts)

favicon for site or author

Generating Slug Using Date & Title In 11ty

I'm equilibriumuk, a software engineer. I write about programming & computer related topics

By equilibriumuk (19 posts)

Categories
favicon for site or author

File Last Modified Is Available

MooseDog Studios - Where Convention Takes A Back Seat To Quality

By Robin Hoover (4 posts)

Categories
favicon for site or author

Easy Date and Time Formatting with Luxon

Two great tastes that taste great together

By Evan Sheehan (8 posts)

Categories
favicon for site or author

From Jekyll & Hugo to Eleventy

HOW DO YOU DO, PLEASE STATE YOUR PROBLEM _

By Chris Burgess (2 posts)

favicon for site or author

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)

Categories
favicon for site or author

Automating Advent Calendar with Github Actions and Eleventy

Last year, I build an advent calendar using Eleventy and Github Actions. In this blog post, I tell more about the progress and the result.

By Eevis (1 post)

Categories
favicon for site or author

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)

Categories

2022

favicon for site or author

Drafts and timestamp-based publishing in Eleventy

Exercise more control over when, and if, your posts appear.

By Bryce Wray (26 posts)

Categories
favicon for site or author

Quick LiquidJS + Eleventy Example - All Posts

Some quick things I learned about Liquid when building an "All Posts" page.

By Raymond Camden (104 posts)

Categories
favicon for site or author

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)

Categories
favicon for site or author

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

favicon for site or author

Time is on your side

The HTML time element is both useful and easy to use.

By Dana Byerly (8 posts)

Categories
favicon for site or author

Formatting dates nicely in 11ty with Luxon

Using Luxon to format dates in your nunjucks templates

By Al Power (9 posts)

Categories
favicon for site or author

11ty Date Shortcodes and Filters

Use this shortcode and filter as a starting point for your date transformation needs.

By Stephanie Eckles (21 posts)

favicon for site or author

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)

Categories
favicon for site or author

Group posts by year in Eleventy

Using a custom 11ty collection to group post by any attribute.

By Darek Kay (5 posts)

favicon for site or author

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

favicon for site or author

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)

Categories
favicon for site or author

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)

Categories
favicon for site or author

Adding a Last Edited Field to Eleventy

How to add a "Last Edited" value to Eleventy pages.

By Raymond Camden (104 posts)

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.