Smashing Mag had a good write up explaining this http://www.smashingmagazine.com/2015/11/static-website-gener...
I did find myself wanting to introduce custom logic - like custom helper funcs for the Go templates - but there is no way to do this short of modifying and rebuilding hugo.
Specifically I wanted to use some functions from here: https://github.com/dustin/go-humanize
In the short run, it was fine. Since most of the data is structured I could write a script to modify the input data to prepare for output without modification.
Not sure about hugo's longterm plan for this type of thing, but overall it is an awesome project and would highly recommend over every other static site generator.
https://docs.google.com/document/d/1nr-TQHw_er6GOQRsF6T43GGh...
https://gohugo.io/content/front-matter/
That still leaves you with the problem of populating the front matter.
But in all honesty my question was also wondering if this had a good story around runtime Go compilation since I am building a Go project that could be construed as a "static-binary generator" for an orchestration and configuration management system.
https://middlemanapp.com/advanced/dynamic_pages/
"Middleman has the ability to generate pages which do not have a one-to-one relationship with their template files. What this means is that you can have a single template which generates multiple files based on variables."
So I can take a JSON file with an array of data, and generate a file dynamically for each object in the array.
Last I looked, I couldn't figure out how to do this with Hugo. Is it possible now?