mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-04 23:16:53 +00:00
RSSbug修复
This commit is contained in:
@@ -19,10 +19,10 @@ export function generateRss (posts) {
|
|||||||
})
|
})
|
||||||
posts.forEach(post => {
|
posts.forEach(post => {
|
||||||
feed.addItem({
|
feed.addItem({
|
||||||
TITLE: post.title,
|
title: post.title,
|
||||||
id: `${BLOG.LINK}/article/${post.slug}`,
|
id: `${BLOG.LINK}/article/${post.slug}`,
|
||||||
LINK: `${BLOG.LINK}/article/${post.slug}`,
|
link: `${BLOG.LINK}/article/${post.slug}`,
|
||||||
DESCRIPTION: post.summary,
|
description: post.summary,
|
||||||
date: new Date(post?.date?.start_date || post.createdTime)
|
date: new Date(post?.date?.start_date || post.createdTime)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user