diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts index 6585e0b..8028abb 100644 --- a/src/pages/rss.xml.ts +++ b/src/pages/rss.xml.ts @@ -5,7 +5,7 @@ import { getCollection } from 'astro:content'; const importResults = await getCollection('posts'); const posts = importResults.map((item) => ({ - link: idToSlug(item.id), + link: `posts/${idToSlug(item.id)}`, title: item.data.title, pubDate: item.data.date, customData: `${item.data.description}`,