Hello, world (again)

meta astro cloudflare

Welcome to the new metahertz.dev. This site is a static Astro build served from Cloudflare Workers, and every article on it is a plain markdown file living in the site’s git repo — one directory per post, with any images sitting right next to the text that references them.

Writing a post

A post is just a directory:

src/content/blog/my-post/
├── index.md    # frontmatter + markdown
└── photo.png   # referenced as ./photo.png

Images referenced with relative paths get optimised at build time — resized, converted and content-hashed — so the repo holds the original and readers get something small and cacheable. The hero image above is exactly that: a PNG committed next to this file.

Why this setup

  • Markdown in git — posts are versioned, reviewable and portable.
  • Static output — nothing to run, nothing to patch, free to host.
  • Build-time feeds — the homepage pulls my latest YouTube videos and posts when the site builds, on a schedule, so the “static” site stays current.

More soon.

← All posts