i've been working on a tool to fix that exact problem lately. i got so tired of all the overweight cms/ssg software out there that i wrote my own.
type up one lazy txt file and the software does the rest of the work for me. about the same amount of effort as writing a mastodon post