meta

Hello World

An introductory post that exercises the Zod-typed content collection schema and validates that frontmatter is enforced at build time.

M
Mouad
· 1 min read

Why this post exists

This is the seed post used to verify that Astro is wiring up the Markdown content collection correctly. If you can read it on the rendered site, the schema accepted the frontmatter and the layout renders prose styling.

A bit of prose

The blog stack is intentionally boring: static Markdown, Pagefind for search, Giscus for comments, Cloudflare for hosting. The whole point is that there is nothing to operate.

Boring is a feature. Every moving part is something that can break at 3am.

Some code

function greet(name: string): string {
  return `hello, ${name}`;
}

A short list

  • Markdown is the source of truth
  • The schema fails the build on bad frontmatter
  • Drafts are excluded from production
👏 Share
meta astro
M
Written by
Mouad

Long-form notes on the systems I work on and the trade-offs in between.

More about Mouad

Discussion