clean up templates

- add doctypes
- close html tags
  - not sure if this is necessary, but it's at least consistent
- remove unneeded default