From c84eb9a3d161f3c0bfde8caf84a495ffa1fc21f3 Mon Sep 17 00:00:00 2001 From: Joseph Hale Date: Thu, 9 May 2024 01:26:21 -0700 Subject: [PATCH] fix: Restore publication dates in RSS feed The RSS feed was showing publications in January 0001. Since the dates no longer appear in the PSA template (the content should be evergreen) I'm now comfortable restoring them to the front matter. --- archetypes/default.md | 1 + content/no-maintenance-intended/index.md | 1 + content/purely-personal/index.md | 1 + 3 files changed, 3 insertions(+) diff --git a/archetypes/default.md b/archetypes/default.md index 78aeffe..bef0cd7 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,7 @@ +++ title = '{{ replace .File.ContentBaseName "-" " " | title }}' slug = '{{ .File.ContentBaseName }}' +date = {{ .Date }} type = "psa" draft = true [[resources]] diff --git a/content/no-maintenance-intended/index.md b/content/no-maintenance-intended/index.md index f7c87a0..00a2ed2 100644 --- a/content/no-maintenance-intended/index.md +++ b/content/no-maintenance-intended/index.md @@ -1,6 +1,7 @@ +++ title = "No Maintenance Intended" slug = "no-maintenance-intended" +date = 2024-05-09T01:18:39-07:00 type = "psa" draft = true [[resources]] diff --git a/content/purely-personal/index.md b/content/purely-personal/index.md index b6a77fc..aef667c 100644 --- a/content/purely-personal/index.md +++ b/content/purely-personal/index.md @@ -1,6 +1,7 @@ +++ title = 'Purely Personal' slug = 'purely-personal' +date = 2024-05-09T01:18:39-07:00 type = "psa" draft = true [[resources]] -- 2.51.2