From 5a34ff2f053548e2bd6eb86a14c970b9d0f9e6f9 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sun, 2 Jan 2022 12:49:44 +0800 Subject: [PATCH] Update rss.js --- lib/rss.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rss.js b/lib/rss.js index 8f25e5fc..62297707 100644 --- a/lib/rss.js +++ b/lib/rss.js @@ -20,8 +20,8 @@ export function generateRss (posts) { posts.forEach(post => { feed.addItem({ title: post.title, - id: `${BLOG.link}/${post.slug}`, - link: `${BLOG.link}/${post.slug}`, + id: `${BLOG.link}/article/${post.slug}`, + link: `${BLOG.link}/article/${post.slug}`, description: post.summary, date: new Date(post?.date?.start_date || post.createdTime) })