We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1ce36e commit 1527736Copy full SHA for 1527736
src/pages/blog/index.astro
@@ -93,7 +93,7 @@ const posts = (await getCollection('blog')).sort(
93
{
94
posts.map((post) => (
95
<li>
96
- <a href={`/cookbook/blog/${post.id}/`}>
+ <a href={`/cookbook/blog/${post.slug}`}>
97
<img width={720} height={360} src={post.data.heroImage} alt="" />
98
<h4 class="title">{post.data.title}</h4>
99
<p class="date">
0 commit comments