NotionNext

使用 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

Stars
6.3K
Committers
72

Bot releases are hidden (Show)

NotionNext - v4.2.3

Published by tangly1024 9 months ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.2.2...v4.2.3

NotionNext - v4.2.2

Published by tangly1024 9 months ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.2.1...v4.2.2

NotionNext - v4.2.1

Published by tangly1024 9 months ago

What's Changed

修复大量bug, 增加大量优化。

New Contributors

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.2.0...v4.2.1

NotionNext - v4.2.0

Published by tangly1024 9 months ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.5...v4.2.0

NotionNext - v4.1.5

Published by tangly1024 9 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.4...v4.1.5

NotionNext - v4.1.4

Published by tangly1024 9 months ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.3...v4.1.4

NotionNext - v4.1.3

Published by tangly1024 10 months ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.2...v4.1.3

NotionNext - v4.1.2

Published by tangly1024 10 months ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.1...v4.1.2

NotionNext - v4.1.1

Published by tangly1024 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.1.0...v4.1.1

NotionNext - v4.1.0

Published by tangly1024 11 months ago

提示

请谨慎更新该版本!!
4.1相比4.0有大量改动,合并将会出现无法预估的冲突,建议备份好您的代码分支,代码配置。可通过新建一个分支的方式来保存代码。

What's Changed

4.1 主要特性

  1. 开发相关

    • 新增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) => {
      }
      
  2. 使用相关

    • 绝大部分配置支持在Notion中设置,减少对blog.config.js和vercel环境变量的配置

    image

v4.1.0

  1. 配置支持读取Notion中的Config文档;省去修改代码和修改环境变量的麻烦。
  2. 网页上的切换主题按钮,样式微调。
    Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.18...v4.1.0
NotionNext - v4.0.18

Published by tangly1024 12 months ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.17...v4.0.18

NotionNext - v4.0.17

Published by tangly1024 12 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.16...v4.0.17

NotionNext - v4.0.16

Published by tangly1024 about 1 year ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.15...v4.0.16

NotionNext - v4.0.15

Published by tangly1024 about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.14...v4.0.15

NotionNext - v4.0.14

Published by tangly1024 about 1 year ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.13...v4.0.14

NotionNext - v4.0.13

Published by tangly1024 about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.12...v4.0.13

NotionNext - v4.0.12

Published by tangly1024 about 1 year ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.11...v4.0.12

NotionNext - v4.0.11

Published by tangly1024 about 1 year ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.10...v4.0.11

NotionNext - v4.0.10

Published by tangly1024 about 1 year ago

What's Changed

Full Changelog: https://github.com/tangly1024/NotionNext/compare/v4.0.9...v4.0.10

NotionNext - v4.0.9

Published by tangly1024 about 1 year ago

What's Changed

  • 支持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