DocPad: static website generator in CoffeeScript and Node.js
github.com
github.com
I've built several PHP and .net things like this over the years for clients, so they can author on there PC (or my console) and push static files to my hosting as static files, and still have roll back.
Seems like common sense to me, lower risk, lower server over heads, lower user error problems. Whack together a bespoke CMS/web form in a few a hours and you're done.
Also the YML frontmatter is fully accessible in the template engine (is that similar to the "data associated to documents" you mention?).