Skip to content

Commit 681f29c

Browse files
committed
Change /posts to /post
1 parent 53aba34 commit 681f29c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ posts.sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf())
1515
{posts.map((post) => (<>
1616
<p class="date">{formatDate.compact(post.data.pubDate)}</p>
1717
<div class="item">
18-
<p><a href={`/posts/${post.id}/`}>
18+
<p><a href={`/post/${post.id}/`}>
1919
{post.data.title}
2020
{post.data.subtitle &&
2121
<>— {post.data.subtitle}</>

0 commit comments

Comments
 (0)