Provide x-ua-compatible tag for IE compatibility

This commit is contained in:
squidfunk 2017-06-21 10:44:40 +02:00 committed by Martin Donath
parent 32f6d63a29
commit bea89e87c1
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@
{% block site_meta %}
<meta charset="utf-8">
<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 %}
<meta name="description" content="{{ page.meta.description | first }}">
{% elif config.site_description %}

View File

@ -31,6 +31,9 @@
<meta charset="utf-8" />
<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 -->
{% if page and page.meta.description %}
<meta name="description"