summaryrefslogtreecommitdiff
path: root/website/src/components/BlogFeed.astro
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2025-01-19 18:14:39 +0000
committerJoe Carstairs <me@joeac.net>2025-01-19 18:14:39 +0000
commitbc8e7d4900dae9b607c4b111ab8407a238fbc99d (patch)
tree4656daafa8df274dfa7512e0da2671dea018eef5 /website/src/components/BlogFeed.astro
parent107ccbceda06b5512a77b12c3be33284e8128201 (diff)
update
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>