corrected templateDeclaration closing tag

Previously an opening tag <templateDeclaration> was written instead of a closing tag </templateDeclaration>