diff options
| author | Joe Carstairs <me@joeac.net> | 2025-01-19 18:14:39 +0000 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2025-01-19 18:14:39 +0000 |
| commit | bc8e7d4900dae9b607c4b111ab8407a238fbc99d (patch) | |
| tree | 4656daafa8df274dfa7512e0da2671dea018eef5 /website/src/components/BlogFeed.astro | |
| parent | 107ccbceda06b5512a77b12c3be33284e8128201 (diff) | |
update
Diffstat (limited to 'website/src/components/BlogFeed.astro')
| -rw-r--r-- | website/src/components/BlogFeed.astro | 2 |
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> |
