Switch from layout to slug & SSG routes

This commit is contained in:
2023-11-25 15:26:58 -06:00
parent a5db301e81
commit 2611f6ab2c
9 changed files with 24 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ const posts = await getCollection("blog");
{
posts.map((post) => (
<Summary
url={post.slug}
url={`/posts/${post.slug}`}
description={post.data.description}
date={new Date()}
title={post.data.title}