Skip to main content

Official 11ty docs

Dates

Content Dates — Eleventy

42 posts in 'Dates'

We Need to Talk About Your Eleventy Post Dates

Almost everyone using Eleventy is using blog post dates wrong

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.

Categories: BloggingCollectionsDatesHow to...

Eleventy - Group posts by year

Let's create a blog with posts grouped by year in descending order. This is actually tricky to pull off!

Categories: BloggingCollectionsConfigurationDatesHow to...

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

Categories: BloggingData CascadeDatesHow to...

Right here, right now

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

Categories: CollectionsData CascadeDatesHow to...Now Page

Deploying my website

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

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.

Categories: Data CascadeDatesFilters

Eleventy Post Graph Plugin

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

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.

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.

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

Categories: Dates

File Last Modified Is Available

MooseDog Studios - Where Convention Takes A Back Seat To Quality

Categories: DatesHow to...

Easy Date and Time Formatting with Luxon

Two great tastes that taste great together

Categories: Dates

From Jekyll & Hugo to Eleventy

HOW DO YOU DO, PLEASE STATE YOUR PROBLEM _

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.

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.

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.

Categories: How to...Dates

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.

Categories: DatesHow to...

Drafts and timestamp-based publishing in Eleventy

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

Categories: DatesHow to...Drafts

Quick LiquidJS + Eleventy Example - All Posts

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

Categories: How to...Dates

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

Categories: DatesHow to...

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.

Categories: DatesHow to...

Formatting dates nicely in 11ty with Luxon

Using Luxon to format dates in your nunjucks templates

Categories: DatesHow to...

11ty Date Shortcodes and Filters

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

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

Categories: Dates

Group posts by year in Eleventy

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

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.

Categories: PaginationDatesHow to...Blogging

Tracking Posts by Week in Eleventy

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

Categories: How to...Dates

Adding a Last Edited Field to Eleventy

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

Categories: How to...CollectionsConfigurationDates

Get the blog by email (or RSS)

Powered by Buttondown