Remove X-UA-Compatible meta tag

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.
This commit is contained in:
vimux 2023-11-28 07:54:10 -05:00
parent c43b9de620
commit 45e0d04c3c
No known key found for this signature in database
GPG key ID: 5A34FDC4EE832E34

View file

@ -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>