How do you deal with end users wanting to edit their content? They have no clue what Markdown or Git is.
Generate static pages from your content system. Even for wordpress there's some projects. If you need adaptations, AI should be helpful. You can sell this also to bosses: Delivery of static sites consumes drastically less resources.
DreamWeaver solved that ages ago. There's no good modern replacement though.
Which is why suggestions like OP’s are never useful or actually serious. I honestly consider them snobby. Like the person who tells you you really ought to check your engine oil, radiator fluid, and brakes everytime you get in a car. It would prevent some awful issues sure, but it’s not gonna happen for 99% of people.
Having static site generator still require an admin endpoint that end users can use to author, publish or otherwise manage the content. Pushing that to a local tool means now you need to somehow synchronize that content across all of the end users devices without git. Not to mention if there is no server side component that means the client needs to have full permission to publish content on the server. Until recently ssh was the only option. Maybe someone could vibe an iroh app that gives you a vpn'd server side app without that now.