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)}
)}