Simple template for blogs using Notion as a CMS
- Go to https://developers.notion.com/docs/create-a-notion-integration and create your integration
- Go to your notion database (where you will be storing all the blogs) and click on the 3 dots and the top right corner
- In the menu go to "Connections" and click on "Connect to"
- Select your integration
- 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
export const SITE_TITLE = ""
export const SITE_DESCRIPTION = ''
export const SITE_KEYWORDS = ''
export const SITE_AUTHOR = ''
export const SITE_URL = ''