mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Provide x-ua-compatible tag for IE compatibility
This commit is contained in:
parent
32f6d63a29
commit
bea89e87c1
@ -5,6 +5,7 @@
|
|||||||
{% block site_meta %}
|
{% block site_meta %}
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
{% if page and page.meta.description %}
|
{% if page and page.meta.description %}
|
||||||
<meta name="description" content="{{ page.meta.description | first }}">
|
<meta name="description" content="{{ page.meta.description | first }}">
|
||||||
{% elif config.site_description %}
|
{% elif config.site_description %}
|
||||||
|
@ -31,6 +31,9 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
|
||||||
|
<!-- Keep for compatibility, see http://bit.ly/2tMB6ag -->
|
||||||
|
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||||||
|
|
||||||
<!-- Page description -->
|
<!-- Page description -->
|
||||||
{% if page and page.meta.description %}
|
{% if page and page.meta.description %}
|
||||||
<meta name="description"
|
<meta name="description"
|
||||||
|
Loading…
Reference in New Issue
Block a user