Generate a static site from a template file