Skip to content

Commit 4a730e9

Browse files
authored
Remove X-UA-Compatible meta tag (#354)
As of IE11, "document modes are deprecated and should no longer be used." Background: This meta tag is only relevant to the Internet Explorer browser family. IE has different modes for displaying web pages, allowing you to view HTML pages using previous versions of rendering rules. `IE=edge` tells Internet Explorer to use the latest available document mode. However, it is a default mode (IE11) for the HTML5 doctype declaration.
1 parent c243571 commit 4a730e9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎layouts/_default/baseof.html

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
76
<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}{{ end }}</title>
87
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
98
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Params.Description }}{{ end }}">

0 commit comments

Comments
 (0)