style: format file with prettier

This commit is contained in:
satnaing
2023-03-24 23:48:15 +06:30
parent 619a54927f
commit 08151881cc
+6 -7
View File
@@ -11,12 +11,11 @@ export async function get() {
title: SITE.title, title: SITE.title,
description: SITE.desc, description: SITE.desc,
site: SITE.website, site: SITE.website,
items: sortedPosts items: sortedPosts.map(({ data }) => ({
.map(({ data }) => ({ link: `posts/${slugify(data)}`,
link: `posts/${slugify(data)}`, title: data.title,
title: data.title, description: data.description,
description: data.description, pubDate: new Date(data.pubDatetime),
pubDate: new Date(data.pubDatetime), })),
})),
}); });
} }