A Next.js, Tailwind CSS blog template, based on Next.js App Router and using react-notion-x to render notion posts. Inspired by Tailwind Nextjs Starter Blog, Nobelium.
Demo: https://blog-demo.m4nd4r1n.me/
- Duplicate notion template, publish to web.
- Fork this repo
- Personalize
blog.config.ts
- Deploy on Vercel, set environment variables (see .env.example for what environment variables you need to set).
- Duplicate notion template, publish to web.
- Clone this repo
- Personalize
blog.config.ts
- Setup environment variables
Then fill the variables in
cp .env.example .env.local
.env.local
. - Set env
export NOTION_PAGE_ID=xxx # your Page ID
- Build
docker build -t nextjs-notion-blog:latest --build-arg NOTION_PAGE_ID .
- Run
docker run -d --name nextjs-notion-blog -p 3000:3000 --env-file .env.local nextjs-notion-blog:latest