diff options
author | 2024-12-03 11:00:43 +0100 | |
---|---|---|
committer | 2024-12-03 11:00:43 +0100 | |
commit | 3a144b1a69679730bb1d721aae2a28008b8a9064 (patch) | |
tree | 3f385ce8140726e47b9a6b9862655748139456e4 /examples/blog/src/pages/rss.xml.js | |
parent | 1dc8f5eb7c515c89aadc85cfa0a300d4f65e8671 (diff) | |
download | astro-3a144b1a69679730bb1d721aae2a28008b8a9064.tar.gz astro-3a144b1a69679730bb1d721aae2a28008b8a9064.tar.zst astro-3a144b1a69679730bb1d721aae2a28008b8a9064.zip |
Update examples for v5 (#12588)
* Revert "chore: downgrade examples to not use beta releases (#12557)"
This reverts commit 6031962ab5f56457de986eb82bd24807e926ba1b.
* Update blog template for new content collections
* Update portfolio template for new content collections
* Update starlog template for new content collections
Diffstat (limited to 'examples/blog/src/pages/rss.xml.js')
-rw-r--r-- | examples/blog/src/pages/rss.xml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blog/src/pages/rss.xml.js b/examples/blog/src/pages/rss.xml.js index 9ff9801e0..ae5e4c4ec 100644 --- a/examples/blog/src/pages/rss.xml.js +++ b/examples/blog/src/pages/rss.xml.js @@ -10,7 +10,7 @@ export async function GET(context) { site: context.site, items: posts.map((post) => ({ ...post.data, - link: `/blog/${post.slug}/`, + link: `/blog/${post.id}/`, })), }); } |