hotfix: rss links

This commit is contained in:
Felix Roos 2024-01-18 23:40:22 +01:00
parent 6ef9ca18e9
commit d8677c6261

View File

@ -9,7 +9,7 @@ export async function GET(context) {
'The Strudel Blog will keep you updated with the latest changes and things happening in the strudelsphere.', 'The Strudel Blog will keep you updated with the latest changes and things happening in the strudelsphere.',
site: context.site, site: context.site,
items: posts.map((post) => ({ items: posts.map((post) => ({
link: `/${post.slug}/`, link: `/blog/#${post.slug}`,
title: post.data.title, title: post.data.title,
pubDate: post.data.date, pubDate: post.data.date,
description: post.data.description, description: post.data.description,