diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 40e979e..5ae34ac 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -19,7 +19,7 @@ export async function GET(context) { site: context.site, items: items.map((item) => ({ title: item.data.title, - description: item.data.description, + description: item.data.description ?? "", pubDate: item.data.date, link: `/${item.collection}/${item.id}/`, })),