Change doctype to WHATWG-HTML
Fix cosmetic errors in <head>

  - Add correct mime type to favicon <link>
  - Remove redundant <style> type attribute
  - Fix a template variable name typo (but it was unused anyway)