aboutsummaryrefslogtreecommitdiff
path: root/src/components/Sections/LatestPosts.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Sections/LatestPosts.astro')
-rw-r--r--src/components/Sections/LatestPosts.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Sections/LatestPosts.astro b/src/components/Sections/LatestPosts.astro
index e514ff5..5c6afd9 100644
--- a/src/components/Sections/LatestPosts.astro
+++ b/src/components/Sections/LatestPosts.astro
@@ -27,7 +27,7 @@ const latestPosts = posts.slice(0, 5);
{
latestPosts.map((post) => (
<li>
- <a href={`/blog/${post.slug}`} lang={post.data.lang}>
+ <a href={`/blog/${post.id}`} lang={post.data.lang}>
{post.data.title}
</a>