The plan

Notes link to a secret note by its name, not its UUID. Of course, that means that GitHub will return a 404 page:

So I need 3 parts:

Tweaking what I have

Implementing the server logic

I'm writing it AFTER the actual logic, so I'll just link the current version and say that I want to refactor it. Eventually, now I just need to get the rest of the system working :)

The secret page

404

Eleventy tried to make it hard by creating 404/index.html instead of 404.html. Fortunately, there's a solution in their docs, you simply

---
permalink: 404.html
---

I also want to change the logo colors to something orange when a secret note is loaded, that can be done with element.style.setProperty("--var", "val").