Move templates into HTML