diff --git a/src/routes/archives/+page.ts b/src/routes/archives/+page.ts index adcf3a6..6dae9d3 100644 --- a/src/routes/archives/+page.ts +++ b/src/routes/archives/+page.ts @@ -6,10 +6,7 @@ export const load: PageLoad = async ({ params }) => { const Content = post.default; return { - metadata: { - ...post.metadata, - date: new Date(post.metadata.date), - }, + metadata: post.metadata, Content, }; }