summaryrefslogtreecommitdiff
path: root/website/src/components/BlogFeed.astro
diff options
context:
space:
mode:
Diffstat (limited to 'website/src/components/BlogFeed.astro')
-rw-r--r--website/src/components/BlogFeed.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/src/components/BlogFeed.astro b/website/src/components/BlogFeed.astro
index f1559b9..5d5f727 100644
--- a/website/src/components/BlogFeed.astro
+++ b/website/src/components/BlogFeed.astro
@@ -64,7 +64,7 @@ const canonicalBlogUrl = new URL('blog', Astro.site)
<ul>
{ posts.filter(matchesYear(year)).sort(sortByPubDateDescending).map(post => (
<li class="h-entry">
- <a class="u-url p-name" href={`/blog/${post.slug}`}>{post.data.title}</a>.
+ <a class="u-url p-name" href={`/blog/${post.id}`}>{post.data.title}</a>.
<Fragment set:html={post.data.description} />
Added: <FormattedDate date={post.data.pubDate} />
</li>