Removed IE compatibility meta tag

This commit is contained in:
squidfunk 2020-03-06 15:50:11 +01:00
parent 02c90d05be
commit 7840e207f9
9 changed files with 21 additions and 25 deletions

View File

@ -1,10 +1,10 @@
{
"assets/javascripts/bundle.js": "assets/javascripts/bundle.42e17809.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.42e17809.min.js.map",
"assets/javascripts/bundle.js": "assets/javascripts/bundle.79897253.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.79897253.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.dd2d8181.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.dd2d8181.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.542c1c70.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.542c1c70.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.5ac791a0.min.css",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.f5f04e6f.min.css"
"assets/stylesheets/main.css": "assets/stylesheets/main.7668ff3e.min.css",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.823cd8cc.min.css"
}

View File

@ -10,7 +10,6 @@
{% 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 and page.meta.description %}
<meta name="description" content="{{ page.meta.description }}">
{% elif config.site_description %}
@ -42,9 +41,9 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.5ac791a0.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7668ff3e.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f5f04e6f.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.823cd8cc.min.css' | url }}">
{% endif %}
{% if palette.primary %}
{% import "partials/palette.html" as map %}
@ -179,7 +178,7 @@
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/vendor.dd2d8181.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.42e17809.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.79897253.min.js' | url }}"></script>
{%- set translations = {} -%}
{%- for key in [
"clipboard.copy",

View File

@ -37,12 +37,12 @@
</li>
{% elif nav_item == page %}
<li class="{{ class }}">
{% set toc_ = page.toc %}
{% set toc = page.toc %}
<input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %}
{% if toc | first is defined and "\x3ch1 id=" in page.content %}
{% set toc = (toc | first).children %}
{% endif %}
{% if toc_ | first is defined %}
{% if toc | first is defined %}
<label class="md-nav__link md-nav__link--active" for="__toc">
{{ nav_item.title }}
<span class="md-nav__icon md-icon">
@ -53,7 +53,7 @@
<a href="{{ nav_item.url | url }}" title="{{ nav_item.title | striptags }}" class="md-nav__link md-nav__link--active">
{{ nav_item.title }}
</a>
{% if toc_ | first is defined %}
{% if toc | first is defined %}
{% include "partials/toc.html" %}
{% endif %}
</li>

View File

@ -35,9 +35,6 @@
<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 and page.meta.description %}
<meta name="description" content="{{ page.meta.description }}" />

View File

@ -78,7 +78,7 @@
<!-- Currently active page -->
{% elif nav_item == page %}
<li class="{{ class }}">
{% set toc_ = page.toc %}
{% set toc = page.toc %}
<!-- Active checkbox expands items contained within nested section -->
<input
@ -89,12 +89,12 @@
/>
<!-- Hack: see partials/toc.html for more information -->
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %}
{% if toc | first is defined and "\x3ch1 id=" in page.content %}
{% set toc = (toc | first).children %}
{% endif %}
<!-- Render table of contents, if not empty -->
{% if toc_ | first is defined %}
{% if toc | first is defined %}
<label class="md-nav__link md-nav__link--active" for="__toc">
{{ nav_item.title }}
<span class="md-nav__icon md-icon">
@ -111,7 +111,7 @@
</a>
<!-- Show table of contents -->
{% if toc_ | first is defined %}
{% if toc | first is defined %}
{% include "partials/toc.html" %}
{% endif %}
</li>