From 435f6caba7693fb8a9d8e5eea70b71b486b1f923 Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Fri, 6 Mar 2026 23:27:15 +0100 Subject: [PATCH] replace updatedAt to createdAt in the blog permalink --- apps/frontend/src/pages/blog/[...slug].astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/pages/blog/[...slug].astro b/apps/frontend/src/pages/blog/[...slug].astro index ec03220..291877d 100644 --- a/apps/frontend/src/pages/blog/[...slug].astro +++ b/apps/frontend/src/pages/blog/[...slug].astro @@ -17,7 +17,7 @@ export async function getStaticPaths() { const LIST_QUERY = ` { pages { - list(orderBy: UPDATED, orderByDirection: DESC, tags: ["blog"]) { + list(orderBy: CREATED, orderByDirection: DESC, tags: ["blog"]) { id path title @@ -147,7 +147,7 @@ function timeAgo(dateStr: string): string { {pageContent.description}

- {timeAgo(pageContent.updatedAt)} + {timeAgo(pageContent.createdAt)}
)}