Decoupling content and presentation

I’ve notice that my architeture of having both content + presentation in the same git repo (that is, all my markdown content inside a folder under /src/content at my website repository) was actually delaying and distracting me from writing more than I could. So I’ve decided to separate my contents under a new repo named metadata.

That came with the benefit of now easily allowing any tool to query this metadata repo with octokit and sort of use it as a “headless CMS”. With that, I can focus on writing when I feel like so without getting distracted by other files.

Also, I’ve managed to write a pretty nice Astro loader with the new Content Layer API to fetch these contents. I will probably write a tutorial on that later.