{title}
+{title}
{post.data.title}
diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 9ff9801..ea0dbad 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -3,14 +3,14 @@ import { getCollection } from 'astro:content'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; export async function GET(context) { - const posts = await getCollection('blog'); + const posts = await getCollection('handbook'); return rss({ title: SITE_TITLE, description: SITE_DESCRIPTION, site: context.site, items: posts.map((post) => ({ ...post.data, - link: `/blog/${post.slug}/`, + link: `/handbook/${post.slug}/`, })), }); }