🐛 Bug fixes on feed
This commit is contained in:
parent
fff10245ea
commit
92f6f0d2a8
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user