adding missing / removing unnecessary closing tags

Minor repairs to a template.