使用 NextJS + Notion API 实现的,支持多种部署方案的静态博客,无需服务器、零门槛搭建网站,为Notion和所有创作者设计。 (A static blog built with NextJS and Notion API, supporting multiple deployment options. No server required, zero threshold to set up a website. Designed for Notion and all creators.)
MIT License
Bot releases are visible (Hide)
Published by tangly1024 9 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.2.2...v4.2.3
Published by tangly1024 9 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.2.1...v4.2.2
Published by tangly1024 9 months ago
修复大量bug, 增加大量优化。
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.2.0...v4.2.1
Published by tangly1024 9 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.5...v4.2.0
Published by tangly1024 9 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.4...v4.1.5
Published by tangly1024 9 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.3...v4.1.4
Published by tangly1024 10 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.2...v4.1.3
Published by tangly1024 10 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.1...v4.1.2
Published by tangly1024 11 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.0...v4.1.1
Published by tangly1024 11 months ago
请谨慎更新该版本!!
4.1相比4.0有大量改动,合并将会出现无法预估的冲突,建议备份好您的代码分支,代码配置。可通过新建一个分支的方式来保存代码。
开发相关
新增siteConfig函数,可直接从Notion中读取配置,并且支持传入默认值
/**
* 读取配置顺序
* 1. 优先读取NotionConfig表
* 2. 其次读取环境变量
* 3. 再读取blog.config.js / 或各个主题的CONFIG文件
* @param {*} key ; 参数名
* @param {*} extendConfig ; 参考配置对象{key:val},如果notion中找不到优先尝试在这里面查找
* @param {*} defaultVal ; 参数不存在默认返回值
* @returns
*/
export const siteConfig = (key, defaultVal = null, extendConfig) => {
}
使用相关
Published by tangly1024 12 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.17...v4.0.18
Published by tangly1024 12 months ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.16...v4.0.17
Published by tangly1024 about 1 year ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.15...v4.0.16
Published by tangly1024 about 1 year ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.14...v4.0.15
Published by tangly1024 about 1 year ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.13...v4.0.14
Published by tangly1024 about 1 year ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.12...v4.0.13
Published by tangly1024 about 1 year ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.11...v4.0.12
Published by tangly1024 about 1 year ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.10...v4.0.11
Published by tangly1024 about 1 year ago
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.9...v4.0.10
Published by tangly1024 about 1 year ago
支持netlify部署,修复项目用npm部署版本不兼容问题
减轻代码依赖,内置的facebook、ackee、qrcode插件移到cdn外部调用,
优化cusdis插件
v4.0.9 by @tangly1024 in https://github.com/tangly1024/NotionNext/pull/1383
Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.8...v4.0.9