We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 536a54a commit c012c68Copy full SHA for c012c68
apps/site/next-data/generators/websiteFeeds.mjs
@@ -41,18 +41,17 @@ const generateWebsiteFeeds = ({ posts }) => {
41
.map(post => {
42
const date = new Date(post.date);
43
const time = date.getTime();
44
- const guid =
45
- time > guidTimestampStartDate
46
- ? `${post.slug}?${date.getTime()}`
47
- : post.slug;
48
49
return {
50
id: post.slug,
51
title: post.title,
52
author: post.author,
53
date: date,
54
link: `${canonicalUrl}${post.slug}`,
55
- guid: guid,
+ guid:
+ time > guidTimestampStartDate
+ ? `${post.slug}?${date.getTime()}`
+ : post.slug,
56
};
57
});
58
0 commit comments