mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
@@ -30,7 +30,6 @@ export async function generateRss (posts) {
|
||||
const feed = new Feed({
|
||||
title: BLOG.TITLE,
|
||||
description: BLOG.DESCRIPTION,
|
||||
id: `${BLOG.LINK}/${BLOG.PATH}`,
|
||||
link: `${BLOG.LINK}/${BLOG.PATH}`,
|
||||
language: BLOG.LANG,
|
||||
favicon: `${BLOG.LINK}/favicon.png`,
|
||||
@@ -44,7 +43,7 @@ export async function generateRss (posts) {
|
||||
for (const post of posts) {
|
||||
feed.addItem({
|
||||
title: post.title,
|
||||
id: `${BLOG.LINK}/article/${post.slug}`,
|
||||
guid: `${post.id}`,
|
||||
link: `${BLOG.LINK}/article/${post.slug}`,
|
||||
description: post.summary,
|
||||
content: await createFeedContent(post),
|
||||
|
||||
Reference in New Issue
Block a user