Skip to content

Commit cfd4c93

Browse files
committed
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
1 parent 3a24f10 commit cfd4c93

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/theme/index.hbs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<!-- Custom HTML head -->
1616
{{> head}}
1717

18-
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
1918
<meta name="description" content="{{ description }}">
2019
<meta name="viewport" content="width=device-width, initial-scale=1">
2120
<meta name="theme-color" content="#ffffff" />

0 commit comments

Comments
 (0)