/notion-blog

Simple template for blogs using Notion as a CMS

Primary LanguageJavaScriptApache License 2.0Apache-2.0

From Notion to Blog

Simple template for blogs using Notion as a CMS

Screenshot 2024-04-21 at 12 34 05 PM

How to use the boilerplate

Step 1 - Create an integration via Notion

Step 2 - Setting up the environment

  • Use your integration key as the NOTION_KEY
  • To get your Blog DB ID you can take a look at this.
NEXT_PUBLIC_NOTION_KEY = YOUR_NOTION_KEY
NEXT_PUBLIC_NOTION_BLOG_ID = YOUR_BLOG_DB_ID

Step 3 - Setting the config file

export const SITE_TITLE = ""
export const SITE_DESCRIPTION = ''
export const SITE_KEYWORDS = ''
export const SITE_AUTHOR = ''
export const SITE_URL = ''