Hello, world — and how this site is built
This is the first real post on the site — and, fittingly, it exists to prove the
machinery that renders it. One MDX file in content/posts/, validated at build
time, statically generated, live at its own URL. No database, no CMS.
What you're looking at
The page you're reading is a single .mdx file. Its frontmatter — the block
at the top — is validated by a schema when the site builds; a malformed file
fails the build loudly rather than shipping broken. The body is Markdown with the
occasional component, styled by a small curated registry.
Links wear the accent, like this one to the repo,
and inline bits of code get a quiet inset treatment.
Code renders highlighted
Fenced code blocks are highlighted at build time and themed by CSS variables, so the colours follow light and dark mode:
export function greet(name: string): string {
const trimmed = name.trim();
return trimmed ? `Hello, ${trimmed}!` : "Hello, world!";
}The point of the first slice isn't to be finished — it's to be real. One post, end to end, on the internet, before anything else is built on top.
That's the whole slice: a post that renders at its URL and shows up in the list. Everything after this — the layout shell, tags, projects, the design pass — hangs off a thing that already works.