Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
BeiyanYunyi committed Mar 11, 2024
1 parent 5b806b0 commit fe70495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/rss.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getCollection } from 'astro:content';

const importResults = await getCollection('posts');
const posts = importResults.map((item) => ({
link: idToSlug(item.id),
link: `posts/${idToSlug(item.id)}`,
title: item.data.title,
pubDate: item.data.date,
customData: `<description>${item.data.description}</description>`,
Expand Down

0 comments on commit fe70495

Please sign in to comment.