Run a blog from Notion
Each row of a Notion database is one post. The row’s properties hold the title, date, cover and tags, and the page itself holds the article. KnotCMS sends both to a Framer CMS collection, and your Framer site shows them on a blog index and a post page.
The same setup works for changelogs, case studies and help articles. It works with Notion databases on every plan, Free included.
1. Shape the Notion database
Section titled “1. Shape the Notion database”Give the database a property for everything the blog index and post page show. The article goes in the page body, not in a property.
| Property | Notion type | In Framer | Note |
|---|---|---|---|
| Name | Title | Plain text | The post title. By default the slug is made from it. |
| Slug | Text | Plain text | Recommended. Choose it as the slug field so a renamed post keeps its URL. See Renaming a post. |
| Date | Date | Date | Used to sort posts. Only the start date is sent. |
| Excerpt | Text | Plain text | The short summary on the index. Switch it to Formatted text to keep bold, italics and links. |
| Cover | Files & media | Image | The post image. Framer gets the first image in the property. |
| Category or Status | Select or Status | Option | Each option becomes an Option value, plus None for an empty one. |
| Tags | Multi-select | Plain text | Arrives as one line, such as Design, Notion. |
| Author | Text, Select or People | Plain text or Option | People arrive as names, separated by commas. |
| Published | Checkbox | Toggle | Useful for filtering the index. See Unpublished posts. |
Relations are not synced yet, so authors or categories that live in another database will not come through. Use a Select, Text or People property for them. See Supported field types for every type.
2. Connect it and turn on page content
Section titled “2. Connect it and turn on page content”Set up the collection as usual with Connect your first site. On step 2 · Direction, choose Create a new Framer CMS collection and sync with existing Notion database.
On step 3 · Fields:
- Choose the slug field. Pick Slug if you added it, or keep Name.
- Check the Page content row. Its type reads Page body. It sends the body of each page to a Formatted text column called Content. It is off until you check it.
- Check the other properties you want on the site, and their Framer types.
On step 4 · Automation, set auto-sync and auto-publish, then click Create & sync. Both work on every plan. Rows reach Framer first, then the bodies. See Sync Notion page content for how bodies are written.
Already syncing the database? Open Connection → Edit connection on the collection and check Page content there. See Edit a connection.
3. Build the blog index
Section titled “3. Build the blog index”In Framer, on the page that lists your posts:
- Add a Collection List and pick the collection KnotCMS created.
- Connect the title, date, excerpt and cover image to layers in the list item.
- Sort the list by Date, newest first.
- Link each item to its post page, once you have made it in the next step.
4. Build the post page
Section titled “4. Build the post page”The post body usually goes on the collection’s CMS page, the page Framer makes for each item, such as /blog/my-first-post.
- In Framer, add a CMS page for the collection.
- Connect the title, date and cover to layers at the top.
- Add a text layer and connect it to the Content field. This shows the article.
- Style the body from that text layer’s settings in Framer, which let you set styles for its headings, paragraphs and links.
The body brings no fonts or colours of its own, so it takes its look from your site. See How it looks on your site.
If the post page already shows the title as a large heading, start sections in Notion with Heading 2 and Heading 3. A Heading 1 in Notion becomes a top-level heading in the body.
The body cannot hold Framer components. Put buttons, sign-up forms and related posts on the page around the text layer.
Unpublished posts
Section titled “Unpublished posts”KnotCMS has no draft state. Every row in the synced database reaches Framer as a normal CMS item, and goes live on your site the next time it is published. KnotCMS cannot sync only some rows. You have two options:
- Keep drafts somewhere else. Write drafts in a separate Notion database, or a page that is not in the synced database, and move them in when they are ready. This is the only way to keep a draft off your site entirely.
- Hide drafts from the index. Add a Published checkbox or a Status property, and filter the Collection List on it in Framer. The post is left out of the list, but its post page still exists at its URL once the site is published.
To check posts before anyone sees them, turn auto-publish off and publish from Framer yourself. A publish ships everything waiting in Framer CMS, not one post.
On Free, drafts in the database count toward the 50 rows per sync.
Renaming a post
Section titled “Renaming a post”With the slug made from the title, renaming a post changes its URL. Links to the old URL stop working. KnotCMS also replaces the Framer item with a new one, so anything you edited on that item by hand in Framer is lost.
To keep URLs stable, add a Slug text property, fill it in for each post and choose it as the slug field. A slug keeps only the letters a to z, numbers and hyphens: What's new in 2.0? becomes whats-new-in-20, and accented letters are dropped. A title written entirely in another script, such as Japanese, becomes item. Two posts with the same slug stop the whole sync until one is changed, so give each post its own Slug.
If the slug field is empty for a post (an empty Slug, or an empty title when the title is the slug field), its slug is made from its Notion page ID, such as 3db95940707d. Fill in the Slug before the post first syncs, because filling it in later changes the URL.
When a post goes live
Section titled “When a post goes live”- Notion to Framer CMS. With auto-sync on, KnotCMS checks Notion every minute. On a paid plan an edit syncs within about a minute. On Free it syncs about 3 minutes after you stop editing. Editing only the body is enough.
- The body follows the row. Rows are written first, then bodies, up to 25 pages at a time. On the first sync of a large database, the bodies fill in over a few minutes. Images in the body are copied to Framer.
- Framer CMS to your site. With auto-publish on, KnotCMS publishes your whole Framer site once the new or edited posts have their bodies, with at least 5 minutes between live publishes. Meanwhile the collection page reads Synced — filling in page content. If the bodies take more than 15 minutes, KnotCMS publishes anyway, then again once the rest are written. Auto-publish works on every plan, Free included. See Page content and publishing.
Writing bodies does not use an extra sync. On Free, each writing session uses one of the 10 syncs, and a sync carries up to 50 rows. See Plans & limits.
Writing posts in Notion
Section titled “Writing posts in Notion”Text with bold, italics, inline code and links comes through, along with headings, lists, quotes, callouts, dividers, code blocks, tables, images, and YouTube and Vimeo videos. Other embeds and bookmarks become links.
Left out: text colour, highlight, underline and strikethrough, videos uploaded to Notion, audio, PDFs and file attachments, child pages and inline databases. A page that needs more than 40 reads from Notion is too long and keeps its previous body.
See What comes through for the full list.