How I Built This Site
I really wanted a simple way to just write some files and have it make a nice-ish looking website out of it. (Nice enough for my bad/lazy web design at least.) I used to write HTML by hand but fuck that. Too many games to play. Markdown is neat, gives you just enough formatting with easy to type syntax. I was used to markdown already from using my favorite cli note taking software nb, so I figured that would be the way to go. I just needed to find/build a parser to convert MD to HTML.
I was thinking about this while reading the Caddy documentation on a saturday night. You know, because I'm a real cool guy. Turns out, the official Caddy docs do exactly this.
So I stole a bunch of code from there and a couple blog posts I found to make this. Go read that blog post. It's better than this.