MyBlog has been upgraded to Version 2 🎉 | Daming Chen's Blog
MyBlog has been upgraded to Version 2 🎉
Next.js
Published Oct 18, 2025
I’m excited to share some fresh updates I’ve rolled out on the blog recently.
What’s New on the Blog 🎉
G’day — I’m excited to share some fresh updates I’ve rolled out on the blog recently.
The goal: make things easier for me to manage, better for you to read — especially if you’re browsing at night.
Here’s a breakdown of the major changes:
1. Notion Database as CMS
I’ve now hooked the blog up with Notion, using a Notion Database as the CMS (content-management system) behind the scenes.
What this means:
Posts are now authored and managed inside Notion — instead of long markdown files or manual uploads.
Metadata like titles, descriptions, tags, and slugs are pulled automatically from the database.
The site now dynamically renders blog content using the Notion API and dedicated components, so my workflow is smoother and more flexible.
On the developer end I refactored the mapping from Notion, improved slug handling, added support for code syntax-highlighting via Prism.js, and updated how blog lists and tags are rendered.
(See commits: “refactor NotionContent component …”, “replace Tags component …” etc.)
👉 View commits on GitHub
In short: content creation & management just got simpler — and you get a more dynamic, up-to-date blog experience.
Notion Database CMS
2. Automatic Table of Contents
Another handy feature: each blog post now includes an automatic Table of Contents (TOC).
Why it’s handy:
It lets you jump right to the section you’re interested in — no need to scroll through everything.
It tracks which section you’re viewing and highlights it as you scroll (“active section tracking”).
It’s rendered via the NotionContent component, so it adapts seamlessly whether you’re on desktop or mobile.