Skip to content

Commit c012c68

Browse files
committed
chore: revert guid changes
1 parent 536a54a commit c012c68

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

apps/site/next-data/generators/websiteFeeds.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,17 @@ const generateWebsiteFeeds = ({ posts }) => {
4141
.map(post => {
4242
const date = new Date(post.date);
4343
const time = date.getTime();
44-
const guid =
45-
time > guidTimestampStartDate
46-
? `${post.slug}?${date.getTime()}`
47-
: post.slug;
4844

4945
return {
5046
id: post.slug,
5147
title: post.title,
5248
author: post.author,
5349
date: date,
5450
link: `${canonicalUrl}${post.slug}`,
55-
guid: guid,
51+
guid:
52+
time > guidTimestampStartDate
53+
? `${post.slug}?${date.getTime()}`
54+
: post.slug,
5655
};
5756
});
5857

0 commit comments

Comments
 (0)