category
tags
type
status
slug
date
summary
icon
password
注意
请谨慎更新该版本!!
4.1相比4.0有大量改动,合并将会出现无法预估的冲突,建议备份好您的代码分支,代码配置。可通过新建一个分支的方式来保存代码。
4.1 主要特性
- 开发相关
新增siteConfig函数,可直接从Notion中读取配置,并且支持传入默认值
- 使用相关
绝大部分配置支持在Notion中设置,减少对blog.config.js和vercel环境变量的配置
如何使用config文档,请参考 《站点配置-配置入门》
更多信息,请访问帮助文档
v4.1.5(2024-01-17)
What's Changed
- 修复刷新页面时的语言切换 by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1761
- Simple主题支持Algolia搜索 by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1762
- 自定义右键菜单更新 by @1208nn in https://github.com/tangly1024/NotionNext/pull/1771
- Correct Spelling by @Phillweston in https://github.com/tangly1024/NotionNext/pull/1773
- fix: 评论区插件补丁+优化 by @RylanBot in https://github.com/tangly1024/NotionNext/pull/1768
- 新增Dify对话机器人支持,新增默认docker-compose.yml by @sebastian0619 in https://github.com/tangly1024/NotionNext/pull/1657
New Contributors
- @Phillweston made their first contribution in https://github.com/tangly1024/NotionNext/pull/1773
- @RylanBot made their first contribution in https://github.com/tangly1024/NotionNext/pull/1768
- @sebastian0619 made their first contribution in https://github.com/tangly1024/NotionNext/pull/1657
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.4...v4.1.5
v4.1.4(2024-01-09)
What's Changed
- 支持在Notion中开启全屏布局;Feat/fullwidth support by @tangly1024 in #1737
- 支持嵌入的音频视频在网页中播放; Fix/media video play by @tangly1024 in #1760
Full Changelog: v4.1.3...v4.1.4
v4.1.3(2023-12-27)
What's Changed
- 支持全宽布局,可以指定Notion中的任意文章为宽屏显示,隐藏掉一些布局,只保留菜单栏。
开启右上角的FullWidth即可。(每个主题的效果不尽相同)
- Fukasawa支持配置MailChimp表单
/themes/fukasaw/config.js → 开启FUKASAWA_MAILCHIMP_FORM
- Fix/little bug for Next Fukasawa by @tangly1024 in #1730
修复搜索的问题
Fukasawa、Next主题多语言的问题
- Update lib/notion/getNotionConfig.js by @1208nn in #1700
- 允许配置文章NotionConfig 的类型为 Config 或者 CONFIG
- 允许配置表名为 'Config-Table' 或 'CONFIG-TABLE'
- 允许表头名为 'Enable' , 'Name', 'Value'。
Full Changelog: v4.1.2...v4.1.3
V4.1.2(2023-12-10)
What's Changed
- NotionConfig已知bug的修复 Fix/notion config by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1646
- 图片字体问题修复 some small fix about img font by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1649
- 4.1.1RSSbug修复 fix-notion-page-rss by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1697
- Update README.md by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1698
- 新增51LAi站点统计支持 feat-51la-analytics by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1701
- 51LA统计 by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1702
- 51LA by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1704
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.1...v4.1.2
V4.1.1 (2023-11-20)
What's Changed
- fix 修复heo主题从NotionConfig读取失败Bug by @Heathcliff-third-space in #1636
- [feat] 支持随机图片 url 统一配置 by @jiashu1024 in #1622
New Contributors
- @Heathcliff-third-space made their first contribution in #1636
- @jiashu1024 made their first contribution in #1622
Full Changelog: v4.1.0...v4.1.1
v4.1.0
- 配置支持读取Notion中的Config文档;省去修改代码和修改环境变量的麻烦。
- 网页上的切换主题按钮,样式微调。