aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/blog/index.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/blog/index.astro')
-rw-r--r--src/pages/blog/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro
index 11201b1..79034d4 100644
--- a/src/pages/blog/index.astro
+++ b/src/pages/blog/index.astro
@@ -42,7 +42,7 @@ const posts = (await getCollection('blog')).sort(
posts.map((post) => (
<li>
<FormattedDate date={post.data.pubDate} />
- <a href={`/blog/${post.slug}/`}>{post.data.title}</a>
+ <a href={`/blog/${post.id}/`}>{post.data.title}</a>
</li>
))
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage