A website that wants to be found needs pages worth finding, and a sitemap that knows they exist. Until this week this site was five flat pages with a sitemap to match. Everything published from now on works differently: articles live as markdown files with typed frontmatter, and the pages, the tag indexes and the sitemap all generate from that one source of truth.
The verdict: write a markdown file, get a page — indexed, linked, and listed in the sitemap without anyone hand-editing XML.
Before: every page was hand-built
Each existing page was a one-off .astro file. Publishing a new article meant copying a template, wiring its meta by hand, and remembering to regenerate the sitemap. That process doesn’t scale past enthusiasm, and the old five-URL sitemap proved it: nothing had been added in months, because adding anything was a project.
The collection: typed frontmatter, not vibes
Every post now declares its frontmatter against a schema — title, description, pubDate, tags, and the one search intent the post serves (targetKeyword). A post with a missing description or a malformed date fails the build instead of shipping an empty meta tag. The constraints that make a page worth indexing are enforced before the page exists.
The sitemap: generated, never maintained
The sitemap builds itself from the finished site. No hand-edited XML, no forgotten URL — and utility pages that carry noindex (the thank-you page, the 404) stay out of it, so the sitemap never asks search engines to crawl a page they’re told to forget.
What comes next
This is infrastructure, not content. The point of the engine is what gets published through it: honest build logs like this one, tool breakdowns from the Sunday-morning streams, and small useful pages built around real questions. Those land as they’re ready — each one a markdown file, each one in the sitemap before it’s linked from anywhere.