index html now generated from a template