Skip to content

Commit

Permalink
style: format file with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
satnaing committed Mar 24, 2023
1 parent 619a549 commit 0815188
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/pages/rss.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ export async function get() {
title: SITE.title,
description: SITE.desc,
site: SITE.website,
items: sortedPosts
.map(({ data }) => ({
link: `posts/${slugify(data)}`,
title: data.title,
description: data.description,
pubDate: new Date(data.pubDatetime),
})),
items: sortedPosts.map(({ data }) => ({
link: `posts/${slugify(data)}`,
title: data.title,
description: data.description,
pubDate: new Date(data.pubDatetime),
})),
});
}

0 comments on commit 0815188

Please sign in to comment.