diff --git a/blog.config.js b/blog.config.js
index 2449cc31..14dcc2da 100644
--- a/blog.config.js
+++ b/blog.config.js
@@ -214,6 +214,9 @@ const BLOG = {
icon: process.env.NEXT_PUBLIC_NOTION_PROPERTY_ICON || 'icon'
},
+ // RSS
+ ENABLE_RSS: process.env.NEXT_PUBLIC_ENABLE_RSS || true, // 是否开启RSS订阅功能
+
// 作废配置
AVATAR: process.env.NEXT_PUBLIC_AVATAR || '/avatar.png', // 作者头像,被notion中的ICON覆盖。若无ICON则取public目录下的avatar.png
TITLE: process.env.NEXT_PUBLIC_TITLE || 'NotionNext BLOG', // 站点标题 ,被notion中的页面标题覆盖
diff --git a/lib/rss.js b/lib/rss.js
index 68214659..66723f93 100644
--- a/lib/rss.js
+++ b/lib/rss.js
@@ -5,21 +5,6 @@ import ReactDOMServer from 'react-dom/server'
import { getPostBlocks } from './notion'
import NotionPage from '@/components/NotionPage'
-const createFeedContent = async post => {
- // 加密的文章内容只返回摘要
- if (post.password && post.password !== '') {
- return post.summary
- }
- const blockMap = await getPostBlocks(post.id, 'rss-content')
- if (blockMap) {
- post.blockMap = blockMap
- const content = ReactDOMServer.renderToString(