From 2de1f4e36eb5f11f23da7403a511dacd74284f77 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Wed, 29 Oct 2025 14:49:11 -0700 Subject: [PATCH] fix: dedupe read time --- src/app/page.tsx | 2 +- src/app/post/[slug]/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 8f2adad..811f29a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -24,7 +24,7 @@ const Home = (): JSX.Element => {

{post.data.title}

{post.data.date.toLocaleDateString("en-GB", { day: "numeric", month: "long", year: "numeric" })}

{post.data.summary}

-

{`A ${post.data.readtime} read.`}

+

{`A ${post.data.readtime}.`}

; })} diff --git a/src/app/post/[slug]/page.tsx b/src/app/post/[slug]/page.tsx index 136cc1a..6d5bd10 100644 --- a/src/app/post/[slug]/page.tsx +++ b/src/app/post/[slug]/page.tsx @@ -32,7 +32,7 @@ const Page = async({ { day: "numeric", month: "long", weekday: "long", year: "numeric" }, )}`}

{post.data.summary}

-

{`A ${post.data.readtime} read.`}

+

{`A ${post.data.readtime}.`}

{post.content}