/NotionBlog

Primary LanguageJavaScriptMIT LicenseMIT

NotionNext

一个使用 NextJS + Notion API 实现的,部署在 Vercel 上的静态博客系统。为Notion和所有创作者设计。

预览效果

我要如何开始?

只需几分钟即可搭建您的个人站点,欢迎移步我的博客 查看教程

致谢

感谢Craig Hart发起的Nobelium项目

Craig Hart
Craig Hart

Quick Start

  • Duplicate This Notion Template and shared it to public
  • Fork This Repo
    • (可选) 用自己的图片替换 /public 文件夹里的 avatar.jpgfavicon.svgfavicon.ico
    • blog.config.js 配置相关选项,NOTION_PAGE_ID: 你刚刚分享出去的 Notion 页面网址中的页面 ID,通常是网址中工作区地址后的 32 位字符串
  • Deploy to Vercel

NotionNext Document

Develop

  • Node.js is required
yarn # install packages
yarn run dev # local dev
yarn run build # local build
yarn run start # start local Next JS service

Based on

License

The MIT License.