How I publish a new post
Publishing a new post takes just three steps:
1. Create the file
Create a new file in src/blog/, e.g. my-new-post.md. The file name becomes
the post URL: /blog/my-new-post/.
2. Fill in the frontmatter
Every post must start with an info block between two --- lines:
---
title: "Post title"
description: "Short summary shown in the list and when shared."
pubDate: 2026-09-20
tags: ["topic"]
---
Your post content starts here...
To hide a post for now, add draft: true to the frontmatter.
3. Push
Save the file, then git add + commit + push. Cloudflare Pages rebuilds
automatically and the site updates in about a minute. Nothing else to do.
← Back to Blog