summaryrefslogtreecommitdiff
path: root/website/src/pages/blog/rss.xml.ts
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-07-13 19:52:53 +0100
committerJoe Carstairs <me@joeac.net>2024-07-13 19:52:53 +0100
commitc07a78a9ec2597bccda562f6f63761c6ba16f9ba (patch)
tree6f0a15fd81428cfef9075ee4e03419237ea25d40 /website/src/pages/blog/rss.xml.ts
parent4904dc846e4e36a734dcbefe3bc027a4b3387846 (diff)
Fixes link in blog RSS feed
Diffstat (limited to 'website/src/pages/blog/rss.xml.ts')
-rw-r--r--website/src/pages/blog/rss.xml.ts2
1 files changed, 1 insertions, 1 deletions
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}`),