Hello world: how publishing works here
How to write, preview, and publish a new post on this blog in under five minutes.
Welcome to the blog. This post doubles as your publishing manual.
Write a new post
- Create a file in
src/content/posts/, e.g.my-new-post.md. - Start it with frontmatter:
---
title: 'My post title'
description: 'One or two sentences. Used for SEO and social previews.'
pubDate: 2026-11-07
tags: ['topic']
---
- Write the body in Markdown.
Preview locally
npm install # first time only
npm run dev # open http://localhost:4321
Publish
Commit and push to your main branch. Cloudflare Pages rebuilds and deploys automatically — usually live in under a minute.
Drafts
Add draft: true to the frontmatter to keep a post out of the site, RSS, and sitemap while you work on it.