diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-07-15 16:14:08 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-07-15 16:14:08 +0100 |
| commit | ea96f40f7c0c535bc4c7d747d347893b78acb6fb (patch) | |
| tree | 662a098c9026fa43bf1ced4d4ca32394d3fd6958 /website/src/content | |
| parent | dff4a997f86a245c50350038dde0881a00210f6f (diff) | |
Blog posts use Date type pubDate
Diffstat (limited to 'website/src/content')
9 files changed, 10 insertions, 40 deletions
diff --git a/website/src/content/blog/2024/01/14/sapiens_on_religion.md b/website/src/content/blog/2024/01/14/sapiens_on_religion.md index b484557..871c7af 100644 --- a/website/src/content/blog/2024/01/14/sapiens_on_religion.md +++ b/website/src/content/blog/2024/01/14/sapiens_on_religion.md @@ -3,10 +3,7 @@ title: Harari’s Sapiens on Religion description: >- In which I discuss why I think Harari’s characterisation of religion is inadequate because it’s too materialistic. -pubDate: - year: 2024 - month: 01 - day: 14 +pubDate: 2024-01-14 --- I’ve been slowly re-reading Yuval Noah Harari’s 2014 classic, diff --git a/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md b/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md index dd456f0..dec6bf5 100644 --- a/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md +++ b/website/src/content/blog/2024/01/29/euhwc_toast_to_the_lasses_2024.md @@ -6,10 +6,7 @@ description: >- Ullapool last weekend, I had the last privilege of giving the Toast to the Lassies. Particularly for the benefit of those who weren’t there, here it is in full! -pubDate: - year: 2024 - month: 01 - day: 29 +pubDate: 2024-01-29 --- Had Burns, instead of his sweet bonnie Jean,<br> diff --git a/website/src/content/blog/2024/03/30/easter.md b/website/src/content/blog/2024/03/30/easter.md index 9735220..f0bd3b2 100644 --- a/website/src/content/blog/2024/03/30/easter.md +++ b/website/src/content/blog/2024/03/30/easter.md @@ -4,10 +4,7 @@ description: >- Based on a talk given to my colleagues at <a href="https://www.scottlogic.co.uk">Scott Logic</a> for Maundy Thursday, 2024. -pubDate: - year: 2024 - month: 03 - day: 30 +pubDate: 2024-03-30 --- As you might have noticed, it is Easter this week! So I'd like to take five or diff --git a/website/src/content/blog/2024/04/11/who_consecrates_the_temple.md b/website/src/content/blog/2024/04/11/who_consecrates_the_temple.md index 1364f5e..74273c2 100644 --- a/website/src/content/blog/2024/04/11/who_consecrates_the_temple.md +++ b/website/src/content/blog/2024/04/11/who_consecrates_the_temple.md @@ -1,10 +1,7 @@ --- title: Who consecrates the tabernacle? (Ex 29) description: A quick, cursory and possibly completely rubbish observation I've made on Exodus 29. -pubDate: - year: 2024 - month: 04 - day: 11 +pubDate: 2024-04-11 --- I've been reading Exodus recently, and the ending of Chapter 29 stuck out to me. diff --git a/website/src/content/blog/2024/04/14/god_is_not_great.md b/website/src/content/blog/2024/04/14/god_is_not_great.md index bf47b27..7b923c0 100644 --- a/website/src/content/blog/2024/04/14/god_is_not_great.md +++ b/website/src/content/blog/2024/04/14/god_is_not_great.md @@ -3,10 +3,7 @@ title: God Is Not Great, initial thoughts description: >- My spark notes on Hitchen's classic 2007 polemic against religion, plus some initial thoughts on how I want to respond to it. -pubDate: - year: 2024 - month: 04 - day: 14 +pubDate: 2024-04-14 --- These are my 'spark notes' on _God Is Not Great_, Christopher Hitchen's classic diff --git a/website/src/content/blog/2024/05/02/no_more_youtube.md b/website/src/content/blog/2024/05/02/no_more_youtube.md index d696936..4665245 100644 --- a/website/src/content/blog/2024/05/02/no_more_youtube.md +++ b/website/src/content/blog/2024/05/02/no_more_youtube.md @@ -2,10 +2,7 @@ title: How I made YouTube work for me description: >- I just learned YouTube channels have an RSS feed. This is terrific news. -pubDate: - year: 2024 - month: 05 - day: 02 +pubDate: 2024-05-02 --- One of my bad habits in life is wandering through YouTube. I've always had diff --git a/website/src/content/blog/2024/06/13/llms_do_not_understand_anything.md b/website/src/content/blog/2024/06/13/llms_do_not_understand_anything.md index 004234a..9598843 100644 --- a/website/src/content/blog/2024/06/13/llms_do_not_understand_anything.md +++ b/website/src/content/blog/2024/06/13/llms_do_not_understand_anything.md @@ -2,10 +2,7 @@ title: LLMs do not understand anything description: >- Save this for the next time someone tells you that LLMs 'understand' things. -pubDate: - year: 2024 - month: 06 - day: 13 +pubDate: 2024-06-13 --- LLMs do not understand what they are talking about. They just don't. It's not diff --git a/website/src/content/blog/2024/07/08/doctor_who_gayness_church.md b/website/src/content/blog/2024/07/08/doctor_who_gayness_church.md index 60749c4..40c1b2e 100644 --- a/website/src/content/blog/2024/07/08/doctor_who_gayness_church.md +++ b/website/src/content/blog/2024/07/08/doctor_who_gayness_church.md @@ -3,10 +3,7 @@ title: Doctor Who, Gayness, and the Church description: >- Series 14 of Doctor Who has a schizophrenic relationship with Christianity. It’s also gay. I think there might be a connection. -pubDate: - year: 2024 - month: 07 - day: 8 +pubDate: 2024-07-08 --- I’ve recently finished the most recent series of Doctor Who, series fourteen (or diff --git a/website/src/content/config.ts b/website/src/content/config.ts index 8bcd92d..dfdf403 100644 --- a/website/src/content/config.ts +++ b/website/src/content/config.ts @@ -1,19 +1,13 @@ import { defineCollection, z } from 'astro:content'; -const dateSchema = z.object({ - year: z.number(), - month: z.number(), - day: z.number(), -}); - const blog = defineCollection({ type: 'content', schema: z.object({ title: z.string(), hidden: z.optional(z.boolean()), description: z.string(), - pubDate: dateSchema, - updatedDate: z.optional(dateSchema), + pubDate: z.date(), + updatedDate: z.optional(z.date()), }), }); |
