Skip to main content

Official 11ty docs

Dates

Content Dates — Eleventy

54 posts in 'Dates'

Notes on Upgrading to Eleventy 3.0

My blog is now generated by Eleventy 3.0, which was released last month. The upgrade process took me a few hours split over two evenings and I took a few notes. This probably isn’t an interesting write up for hardly anyone – but if you have any of the same 11ty concerns I do, you may find a solution in here.

Nov 21, 2024

Categories: CSS/SassDatesFiltersPaginationPermalinksUpgrading

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.

Oct 27, 2024

Categories: CollectionsDatesHow to...

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 t…

Aug 20, 2024

Categories: DatesFilters

Making a Comment System with Eleventy and Netlify

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

Aug 11, 2024

Categories: DatesHow to...NetlifyRemote DataWebmentions

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.

Jul 20, 2024

Categories: DatesPluginsWebmentions

A custom collection to sort events with Eleventy

I made a custom collection with a filter to sort events by their custom date data.

May 9, 2024

Categories: CollectionsDatesFiltersFront MatterNunjucks/Macros

We Need to Talk About Your Eleventy Post Dates

Almost everyone using Eleventy is using blog post dates wrong

Mar 14, 2024

Categories: DatesRSS

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.

Mar 13, 2024

Categories: BloggingCollectionsDatesHow 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...

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.

Feb 21, 2024

Categories: CollectionsDatesHow to...Markdown

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

Jan 21, 2024

Categories: BloggingData CascadeDatesHow to...

Right here, right now

A brief explanation of the way I built the "Right now" box on my homepage.

Jan 7, 2024

Categories: CollectionsData CascadeDatesHow to...Now Page

Deploying my website

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

Dec 30, 2023

Categories: DatesDeployment

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.

Dec 19, 2023

Categories: Data CascadeDatesFilters

Eleventy Post Graph Plugin

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

Dec 19, 2023

Categories: DatesHow to...Plugins

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.

Oct 31, 2023

Categories: DatesFilters

Sorting and Dating 11ty Posts by Name

Organize and automate your 11ty blog's post structure with ISO dates and some quick JavaScript.

Jul 28, 2023

Categories: DatesHow to...

Solving a date display issue in 11ty templates

I was getting the full UTC code and only needed the short date without time

Jul 7, 2023

Categories: Dates

Removing Luxon From Eleventy

writings of a coder + sysadmin

Jun 26, 2023

Categories: BloggingDatesHow to...Performance

Generating Slug Using Date & Title In 11ty

writings of a coder + sysadmin

Jun 20, 2023

Categories: BloggingDatesHow to...

File Last Modified Is Available

MooseDog Studios - Where Convention Takes A Back Seat To Quality

Jun 11, 2023

Categories: DatesHow to...

Easy Date and Time Formatting with Luxon

Two great tastes that taste great together

Mar 29, 2023

Categories: Dates

From Jekyll & Hugo to Eleventy

HOW DO YOU DO, PLEASE STATE YOUR PROBLEM _

Mar 6, 2023

Categories: DatesMigrating 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.

Feb 12, 2023

Categories: Dates

CAUTION

The posts below were published before the release of Eleventy v2.0.0 (Feb 8, 2023). Information in these posts may be out of date. The current stable release is 2.0.1. Eleventy v3.0 is currently under development and available for testing.

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 eleventy, tutorial.

Jan 6, 2023

Categories: DatesHow to...

Drafts and timestamp-based publishing in Eleventy

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

Dec 21, 2022

Categories: DatesHow to...Drafts

Quick LiquidJS + Eleventy Example - All Posts

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

Nov 9, 2022

Categories: How to...Dates

A demonstration of how to get content published on the same day in the past.

Jun 23, 2022

Categories: DatesHow to...

Building blocks for my first Eleventy site

Different choices that go into building an Eleventy website from scratch.

Mar 8, 2022

Categories: CSS/SassDatesDeploymentFiltersHow to...NavigationPaginationSocial Media

CAUTION

The posts below were published before the release of Eleventy v1.0.0 (Jan 9, 2022). Information in these posts may be out of date. The current stable release is 2.0.1. Eleventy v3.0 is currently under development and available for testing.

Time is on your side

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

Nov 16, 2021

Categories: DatesHow to...

Formatting dates nicely in 11ty with Luxon

Eleventy (11ty) Tutorial

Jul 22, 2021

Categories: DatesHow to...

11ty Date Shortcodes and Filters

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

Mar 27, 2021

Categories: DatesHow to...FiltersShortcodes

Dates in Eleventy

Bernard Nijenhuis • Front-end Developer • Katwijk, The Netherlands • Father of 3 kids • Husband to 1 wife • Owner of 2 cats

Mar 9, 2021

Categories: Dates

Group posts by year in Eleventy

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

Jan 31, 2021

Categories: DatesHow to...Collections

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.

Jan 26, 2021

Categories: PaginationDatesHow to...Blogging

Tracking Posts by Week in Eleventy

A quick hack to get the number of posts written per week in Eleventy

Sep 30, 2020

Categories: How to...Dates

Eleventy static-site generator: Making Liquid play nice with dates

Home, home on the web, where the links and the hypertexts play

Apr 16, 2020

Categories: Dates

Adding a Last Edited Field to Eleventy

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

Feb 6, 2020

Categories: How to...CollectionsConfigurationDates

Get the blog by email (or RSS)

Powered by Buttondown