Re:Minimum Viable Hugo – No CSS, no JavaScript, 1 static HTM...
by count on Monday February 27, 2023 @02:07PM
(#34960563)
I can deploy [sic] my website to a static file serving service for virtually free (e.g. S3, GitHub Pages, Azure Static Sites, etc.) without having a CDN and without having to worry about renewing SSL certs, managing a full linux instance or container, patching the web server when stuff gets hacked, doing maintenance, etc.
There's a ton of value in 'just static pages', and if you do more than 1, not writing your own HTML is pretty great.
And like others have said, nginx comes with server side includes built in. It's the perfect amount of dynamic templating power with the minimal attack surface. Before anyone jumps in with, "but I can deploy (or other cargo cult terms) my website to a CDN if I use Hugo for templating." I question the utility and complexity of bringing in a CDN in this, minimum viable context or any personal website context.