Replies: 6 comments
-
目前暂时做不到 SiteMap 和 RSS 都读取NotionConfig,因为这两项的配置是在编译打包时生成 |
Beta Was this translation helpful? Give feedback.
-
大佬,我用的4.1.1版本(main分支,部署在vercel),修改 notion_config 参数都不生效,不知道是哪个步骤出了问题 |
Beta Was this translation helpful? Give feedback.
-
建议在 Notion 模板中说明下,模版给了配置项但实际是不生效的 |
Beta Was this translation helpful? Give feedback.
-
@dxer @tangly1024 我也一样,在notion config里改theme啥的都没用,用的最新的4.1.3,你后来有知道原因吗。 |
Beta Was this translation helpful? Give feedback.
-
思维
|
Beta Was this translation helpful? Give feedback.
-
我也是这样的 主题配置没有用 大佬解决了吗 |
Beta Was this translation helpful? Give feedback.
-
描述bug
SiteMap 和 RSS 不能正确读取 Notion 页面中配置的值
复现步骤
![image](https://private-user-images.githubusercontent.com/23479787/286496088-26f87fef-190e-4d10-8bab-3c0fe0bf3b0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjU0OTQsIm5iZiI6MTcyNTk2NTE5NCwicGF0aCI6Ii8yMzQ3OTc4Ny8yODY0OTYwODgtMjZmODdmZWYtMTkwZS00ZDEwLThiYWItM2MwZmUwYmYzYjBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEwNDYzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxY2E1Njk0MDQ5NTc5M2Y1ZjY5MjFiNDI0ZGIzZWQ5NzQ2ODBhZGZkZmZhYjUzMGViMGVlYzdkNGFjNGM1N2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.s-z07kf0cL7kPuB0fXsQE0kJyxWiyayTfPV2mOv7JTo)
https://tanghh.notion.site/8f4fe6b17a9e43e0bcfb6edb50f10a62 复制该模版
在Notion中配置 LINK 的值,部署后 [ 域名/sitemap.xml ] 指向的是默认的 LINK 生成的 SiteMap 页面,LINK 配置不生效
![image](https://private-user-images.githubusercontent.com/23479787/286491388-7a37ac21-2ee3-4e3e-a60b-8b3d0066e5a0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjU0OTQsIm5iZiI6MTcyNTk2NTE5NCwicGF0aCI6Ii8yMzQ3OTc4Ny8yODY0OTEzODgtN2EzN2FjMjEtMmVlMy00ZTNlLWE2MGItOGIzZDAwNjZlNWEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEwNDYzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5ODFlNjAyMTRmMThmZWNjYmE1NjlhMmRlODBhOTQwY2U4NzRhMGZlMDA5ZTgyOGVmMmRkMTVlNTRjMDRjYzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.qS6OiFlHVGo0iOhRn1tEHQR5ArH-gOhpIbZrcnBPyGU)
SiteMap 地址:https://notion-next-iqxdccnmz-femoon.vercel.app/sitemap.xml
RSS 中不能正确抓取配置中地值
![image](https://private-user-images.githubusercontent.com/23479787/286496346-ee514a1d-1d2a-42d7-8231-977ef986ec58.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjU0OTQsIm5iZiI6MTcyNTk2NTE5NCwicGF0aCI6Ii8yMzQ3OTc4Ny8yODY0OTYzNDYtZWU1MTRhMWQtMWQyYS00MmQ3LTgyMzEtOTc3ZWY5ODZlYzU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEwNDYzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwODlhMGI4MWQ4NmI1MTA5NDZmZTkzNzJiYzExNjljNjUzMjE0YjlkNzZhNjM2MDYxODBlNTNiZTY4MTgyNDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.lr6ARACoKXvycg0-R7RiMXigI0QwLY0sOYuINm2nvxY)
RSS 地址:https://notion-next-iqxdccnmz-femoon.vercel.app/rss/feed.xml
期望的正常结果
SiteMap 和 RSS 能正确读取 Notion 页面中配置的值
环境
Beta Was this translation helpful? Give feedback.
All reactions