Don't generate redundant <meta http-equiv=content-type>.

Quoting from the HTML specification[1]:

  A document must not contain both a meta element with an http-equiv attribute
  in the Encoding declaration state and a meta element with the charset
  attribute present.

So we remove the <meta> with the http-equiv attribute from our template.

[1]: https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv-content-type
This commit is contained in:
Aman Verma 2022-11-12 14:27:52 -06:00
parent 3a24f10d7c
commit cfd4c93d88
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@
<!-- Custom HTML head -->
{{> head}}
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="{{ description }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff" />