added new doctype to index and template