Separated lens template and html template