Skip to content

Commit

Permalink
Remove X-UA-Compatible meta tag (#88)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Vimux authored Nov 28, 2023
1 parent c43b9de commit 3f0f4c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<html class="no-js" lang="{{ .Site.LanguageCode | default "en-us" }}">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="{{ .Site.Params.Manifest.themeColor | default "#1b1b1b" }}">
<title>{{ block "title" . }}{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
Expand Down

0 comments on commit 3f0f4c1

Please sign in to comment.