And, importantly, any updates are a simple
Docs: They better. They supa dupa better. They’re not perfect as they’re a little hard to search through, but they are definitely a helluva lot more comprehensive than Hexo’s. And on top of that the community seems a lot more active as, so far, finding solutions to my theming problems (which admittedly were mostly PEBKAC) was pretty straightforward.
All of the batteries: This is a clear improvement over Hexo. Even simple things like making a decent
sitemap.xml with my site structure work in hexo was annoying. Hugo has everything just working great out of the box. It handles all the little things I didn’t even think about, like tagging and rss feeds really well with, so far, no rough edges. Also, as it’s baked on top of Golang’s templating language (which seems pretty decent so far), it handles escaping/different types of outputting really nicely.
Deployment: As titled, this isn’t really relevant to which tool you’re using to generate your static site. But, the act of changing how I generated mine (along with probably some recent workplace devops adventures) lead me to rethink how I was deploying. You see, previously I was lazy. I would deploy the site by pulling the code from Git onto an EC2 instance. This was great in theory, as it meant that I could just checkout the source someone and then run a make script to generate the public output. But it was annoying, because everytime I wanted to publish content, I had to push it, then shell into my machine and pull/regenerate. As time dragged on and server migrations occurred, this became pretty frustrating.
My solution? Rsync & other ancient unix commands! I was browsing Hugo’s docs and came across this pretty simplistic approach to getting my posts & theme changes deployed. I’ve even started making nginx changes by pushing them from my machine over ssh too. This probably isn’t the most repeatable manner when I change servers, and I haven’t yet had to figure out setting the server config up from scratch, but so far I think it’s a winner. Even if the setup is a little turns out to be a little bit more effort (though I doubt it in all honesty), I deploy changes orders of magnitude more frequently than I migrate servers/setup sites. The trade off is most definitely worth it as deploying is so easy now 😆
More updates are definitely to come as I use the setup more, but I don’t think I’ll be going back any time soon (or looking for another generator for that matter). This (along with probably other more real-life-related things) has made writing blog posts seem fun and exciting again so, hopefully I can rave about some fun expansions to this site that I’ve made in upcoming posts 😁