adding content type to templates.