SPG is simple:
input.json + input.htm (processed by https://github.com/janl/mustache.js template) =>
SPG relies on mustache.js for rendering and therefore comes with support for sections, functions, conditional rendering etc.
You will find sources at github. SPG is open source and Apache 2 licensed.
3 seats left: HTML 5 for Java Developers, Tuesday, April 28th, 2015 and NEW online workshop: Java EE 7 Bootstrap