At the start of each year I write down three things I want done by the end of June. Never more, because a long list never gets finished. This year one of the three is the Hugo theme I mentioned in my notes from August: nocturne.

Why write my own

The theme I use works, but it is heavy. It has a slider, animations, and a whole folder of JavaScript I have never opened. Writing my own is the only way to know why each line is there.

Goals

  1. No build step for CSS or JS: just Hugo and the ES modules browsers already understand.
  2. Vietnamese first. Other languages are a bonus, not a requirement.
  3. The home page is a portfolio; the posts are everything else.

How I’ll know

A goal you cannot check is only a wish, so each one gets a simple test:

  • The site runs with hugo server and no npm install.
  • A long post reads comfortably on a phone, even with JavaScript off.
  • One post in Vietnamese plus an English version, and switching between them never loses your place.

Not doing

This list matters as much as the one above: no self-hosted comments, no icon library, no CSS framework. When something is needed, write exactly that part.

More once the theme has taken shape.