[NEXUS-6141] set content type to text/html for templates