diff options
Diffstat (limited to 'src/pages/rss.xml.js')
| -rw-r--r-- | src/pages/rss.xml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index df0645d..fe17f91 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -18,7 +18,7 @@ export async function GET(context) { // See "Generating items" section for examples using content collections and glob imports items: blog.map((post) => ({ title: post.data.title, - pubDate: post.data.date, + pubDate: post.data.pubDate, description: post.data.description, // Compute RSS link from post `slug` // This example assumes all posts are rendered as `/blog/[slug]` routes |
