So, I have been working on my hacks and it looks like I have reached a Good Enough state now.
Having this setup enables me to serve you only static HTML pages from a semi-dynamic backend using templates.
You can check out the script I have written aptly named My Generate Script