🐛 Bug fixes on feed

This commit is contained in:
LittleSheep 2025-01-08 16:08:54 +08:00
parent fff10245ea
commit 92f6f0d2a8

View File

@ -13,10 +13,7 @@ function generateFeed(posts: SnPost[]): string {
copyright: `All rights reserved ${new Date().getFullYear()} © Solsynth LLC & Post Publishers`, copyright: `All rights reserved ${new Date().getFullYear()} © Solsynth LLC & Post Publishers`,
updated: new Date(posts[0].createdAt), updated: new Date(posts[0].createdAt),
generator: 'Capital', generator: 'Capital',
feedLinks: { feedLinks: {},
json: 'https://example.com/json',
atom: 'https://example.com/atom',
},
}) })
for (const p of posts) { for (const p of posts) {