Add doctype to template.