remove weird ending lines in template.txt

You can only view diff on template.txt, because my changes on templates.vim have already been implemented in a previous pull request #15.