Skip to content
프로젝트

소개

Next.js blog template that uses Notion as CMS

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • Simple to sync Notion and blog
  • Search posts by name
  • Filter posts by categories
  • Responsive design

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Notion Blog with Next.js 13

demo site screenshot

Contents

🚀 Introduction

This is a blog template that uses Notion as CMS.
Upload posts in Notion, share them through your blog!
This project uses App Router that is now stable in Next.js 13.4.

👀 Demo

Check out the demo site HERE

https://www.youtube.com/watch?v=rZgh8a4ZjA8

Video Label

🌟 Features

  • Simple to sync Notion and blog
  • Search posts by name
  • Filter posts by categories
  • Related posts
  • Dark mode
  • Responsive design
  • Sitemap

📦 Major Package Dependencies

🏁 Getting Started

  1. Duplicate this notion blog template to your notion workspace. (Make your notion page public.)

    duplicate template
  2. Visit your notion page with browser.

  3. Check your database id in the url. (needed as an environment variable)

    check database id
  4. Check your auth token in the cookie. (needed as an environment variable)

    check auth token
  5. Now you can run on local or deploy to Vercel with environment variables listed below.

Slug should be unique because it's used as url of the post page

Environment Variables

NOTION_DATABASE_ID: getting started step 3
NOTION_AUTH_TOKEN: getting started step 4
SITE_URL: URL of your site (http://localhost:3000 in local environment)
API_KEY: Choose your own password for route handler

Screenshots

Desktop

Tablet

Mobile

📝 TODO

  • Light mode for code block

관련 프로젝트 살펴보기

불러오는 중…