diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-02 23:25:31 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-02-02 23:30:29 -0500 |
| commit | c7264e3ace8a6b1e22420702f00296a4bdadb6da (patch) | |
| tree | 1a157a968bea7e24fc708a22e933e8ea7ce01f1f /src/pages/rss.xml.js | |
| parent | 2c2bdccd645cafd26318c2f2659242f046b61daf (diff) | |
| download | personal-website-c7264e3ace8a6b1e22420702f00296a4bdadb6da.tar.gz personal-website-c7264e3ace8a6b1e22420702f00296a4bdadb6da.tar.bz2 personal-website-c7264e3ace8a6b1e22420702f00296a4bdadb6da.zip | |
Tags; More changes on blog
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 |
