After a hour and a half of messing around with hugo and caddy the blog is online.
I chose to use caddy as my web server because I was already using it as my reverse proxy. The only issue I faced with caddy was it wasn’t working when it was running as a systemd service but it worked fine when I ran it from the terminal. To my understanding the issue ended up being that caddy doesn’t scan files it does not have executable permissions on. I found the solution from this post on the caddy user forms. It was a simple as moving my blog directory from /home/cole/websites/blog
to /var/www/websites/blog
and voila it was up and running.
After a small amount of research about static site generators I chose hugo for 3 reasons, one I have heard good things about it, two it’s lightweight and the final reason it was simple to setup. All it took was 4 commands and hugo was setup with a theme and running on a development server.
The only other tools I am using for this blog is obsidian (with vim mode on of course) for writing the markdown and cloudflare for the domain name.
I will try and post somewhat frequently otherwise that is all.
Update: Oct 7 2023
Now using cloudflare as my CDN because it makes CI/CD easy.