1 min read
Hello, world
A fresh start — and a template showing everything a post can do.
On this page
Welcome to the new blog. This post doubles as a template: copy this folder, rename it, and start writing.
Frontmatter
Every post starts with frontmatter that is validated at build time:
title: Hello, world # required
description: One sentence. # required, used for cards, SEO and RSS
date: 2026-11-12 # required
updated: 2026-11-20 # optional
tags: [Meta, Next.js] # optional
draft: true # optional — visible in dev, hidden in production
cover: ./cover.png # optional image next to this fileCode
Syntax highlighting works in both themes:
export function sortByDateDesc<T extends PostLike>(posts: readonly T[]): T[] {
return [...posts].sort((a, b) => b.date.localeCompare(a.date));
}Inline code like pnpm dev works too.
Math
Inline math: addressable locations. Display math:
Images
Put images next to the post and link them relatively — they are copied and fingerprinted at build time.
Callouts
Run
pnpm dev and edit this file — the page reloads as you type.