From c07a78a9ec2597bccda562f6f63761c6ba16f9ba Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sat, 13 Jul 2024 19:52:53 +0100 Subject: [PATCH] Fixes link in blog RSS feed --- website/src/pages/blog/rss.xml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/blog/rss.xml.ts b/website/src/pages/blog/rss.xml.ts index ae81209..9e65a04 100644 --- a/website/src/pages/blog/rss.xml.ts +++ b/website/src/pages/blog/rss.xml.ts @@ -23,7 +23,7 @@ export async function GET(context: APIContext) { site: path.join(site.toString(), 'blog'), trailingSlash: false, items: posts.map((post) => ({ - link: post.slug, + link: `/blog/${post.slug}`, title: post.data.title, content: mdParser.render(post.body), pubDate: new Date(`${post.data.pubDate.year}-${post.data.pubDate.month}-${post.data.pubDate.day}`),