diff --git a/src/components/Posts/PostTimeline.astro b/src/components/Posts/PostTimeline.astro index 2a25fb5..dc1e1c2 100644 --- a/src/components/Posts/PostTimeline.astro +++ b/src/components/Posts/PostTimeline.astro @@ -43,18 +43,25 @@ const groupedPosts = filteredPosts.reduce((acc: any[], post: any) => {
{group.month}
- {post.data.description} -
- - ))} + {group.posts.map((post: any) => { + const [postLang, ...slugParts] = post.id.split("/"); + const slug = slugParts.join("/"); + + return ( + ++ {post.data.description} +
+ + ); + })}