add tags to rss feed

This commit is contained in:
Chris W 2023-12-09 17:48:04 -07:00
parent a4a1e8d7d7
commit dd0e53b7ac
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ export async function GET(context) {
site: context.site, site: context.site,
items: posts.map((post) => ({ items: posts.map((post) => ({
...post.data, ...post.data,
categories: post.data.tags,
link: `/posts/${post.slug}/`, link: `/posts/${post.slug}/`,
})), })),
}); });