summaryrefslogtreecommitdiff
path: root/website/src/components/BlogFeed.astro
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2025-01-28 18:06:53 +0000
committerJoe Carstairs <jcarstairs@scottlogic.com>2025-01-28 18:06:53 +0000
commited52216fb8df3c5c6ed1561ed59699a67a950187 (patch)
tree643debcd204e511e0842a68f6946a97a26f51814 /website/src/components/BlogFeed.astro
parent17aa658fb8b86a5caf3d3608f7871e43d09be55a (diff)
parentc9f6c53a0d9617e3d3a6862b3998322c2a1470c8 (diff)
Merge branch 'main' of https://github.com/joeacarstairs/personal-website
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>