From 699f25176cbce7225fc4c2e6420f33a05975bf59 Mon Sep 17 00:00:00 2001 From: Brandur Date: Thu, 3 Oct 2024 14:03:59 -0700 Subject: [PATCH] Make atom RSS feed titles slugs instead of dates RSS readers will already show a date, and the dates always looked kind of weird anyway. --- build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.go b/build.go index 5be56a4c..913c99fa 100644 --- a/build.go +++ b/build.go @@ -2080,7 +2080,7 @@ func renderAtomFeed(ctx context.Context, c *modulir.Context, atoms []*Atom, atom return true, err } - title := atom.PublishedAt.Format("2006 / Jan 2 / 15:04 PST") + title := "Atom #" + atom.Slug if atom.Title != nil { title = *atom.Title }