I've enjoyed using Notion for collecting all of my thoughts and decided it would be a good place to store blog posts too. I saw a Zeit tweet about using Notion as their CMS and thought it sounded like a fun idea to implement.
My blog posts are stored in a Notion database. I am then able to query the collection through Notion's internal API. I'm hoping for the official API soon! The query returns a list of the posts, along with tags and other meta data which is useful for displaying the blog index. Then with the notion id, I am able to get the actual notion post back.
I'm hosting my blog on Zeit's Now platform which pairs perfectly with Next.js (also built by Zeit).
import React from "react"