Changed each template to standalone html page.