This site looks like a quiet personal page: some writing, a bit of work, a dog. Under the surface it is a small, deliberate machine, and most of the pieces exist so that adding a post is almost no work at all. Here is how it all fits together.

The stack, in one breath

It is an Astro project (v6), built as a fully static site. There is no React, no Vue, no client framework of any kind ~ just HTML, a hand-written CSS system, and a sprinkle of vanilla JavaScript where something genuinely needs to move. Everything you see is rendered ahead of time into plain files and hosted, for free, on GitHub Pages ~ the same place the code itself lives.

The reason is boring and correct: a blog does not need a runtime. Static HTML is fast, cheap to host, impossible to break at 2am, and it will still open in ten years. Astro lets me author in components and markdown while shipping almost zero JavaScript to the reader.

Words are just markdown

Every post is a markdown file with a small block of frontmatter on top:

---
title: How this site fits together
description: A one-line summary for listings and meta tags.
date: 2026-11-08
tags: [astro, web, architecture, meta]
draft: false
---

Opening paragraph, then body copy.

These live in src/content/ and are validated by a schema (Zod) so a typo in a date or a missing title fails the build loudly instead of shipping something broken. Each post is just that file plus whatever media sits beside it. No database, no admin panel, no CMS ~ the folder is the content.

The drop zone

Writing is one thing; publishing it is another, and I did not want publishing to involve fiddling with folders by hand. So there is a single incoming/ drop zone and an ingest script.

I drop a folder like incoming/blog_my-slug/ containing the post and its media, run one command, and the script does the tidying: it rewrites the image paths, copies the media into the right public folder, pulls out the thumbnail, and writes the finished markdown into place. It copies rather than moves, so the original stays editable. Run it again and it just re-copies. The folder name carries the intent ~ a blog_ prefix is all the routing it needs.

The point of all this is that the interesting part ~ actually writing ~ never has to think about the plumbing.

The look is a system, not a pile of CSS

The visual side is a small design system rather than page-by-page styling. At the top of one stylesheet there is a block of design tokens: colors, font roles, radii, shadows. Change the terracotta accent in that one block and it ripples across the entire site, both themes.

“Both themes” because there is a light and a dark mode. The warm cream and espresso you see are two sets of the same tokens, and the theme you pick is remembered in localStorage and applied before the page paints, so there is no white flash when you load a dark page. Fonts are self-hosted (Roboto, Inter, Oswald, Onest) rather than pulled from Google, so nothing phones home and nothing blocks rendering.

Layout obeys exactly two real breakpoints. Anything with columns collapses to a single column on a phone. That constraint keeps the responsive behaviour predictable instead of a thicket of special cases.

The sky, the dog, and other moving parts

A few things do move, on purpose:

  • The hero sky ~ clouds, a sun, and layered waves ~ is a little scene composed at build time from a config file. I can nudge the clouds around by editing JSON and watching it live-reload.
  • The landing page leads with a featured essay: the pinned post if there is one, otherwise the newest. (If you are reading this the day it went up, it is probably sitting in that very slot right now. Hello from inside the machine.) When a post has no cover image, a CSS-drawn miniature of the sky scene stands in, with the title’s first letter as an oversized drop-cap.
  • The About page has a toy terminal ~ a closed set of pretend commands, no real shell behind it ~ and a portrait that is just an animated GIF driven by its own little config.
  • A comic project syncs itself in from a separate private repository at build time, so I maintain it in one place and it appears here automatically.

None of these need a server. They are all decided at build time or run as a few lines of self-contained JavaScript in the page.

Search and stats without the creepy bits

Search is done with Pagefind, which indexes the built site and runs entirely in the browser ~ no search server, no query logging. Analytics are cookieless and privacy-respecting: a tiny beacon, no personal data, and a weekly job that renders the numbers into charts so I can see what people read without building a surveillance apparatus to do it.

Push to publish

The last piece is the one I touch most and think about least. The site lives in a git repository. When I push to main, a GitHub Action builds everything ~ sync the comic, run Astro, generate the search index ~ and deploys the result to GitHub Pages. There is no “deploy” button and no server to babysit. Writing a post and making it live is the same gesture: a commit.

Why build it this way

Every choice here points the same direction: keep the reader’s experience fast and the author’s experience frictionless. Static output for speed and longevity. A content pipeline so publishing is one command. A token-based design system so the whole thing can change its mind about a color in one line. And a deploy that is just git push.

It is more machinery than a personal site strictly needs. But almost all of it is in service of the part that matters ~ sitting down and writing the next thing ~ and that is exactly the trade I wanted.