Serve the IE8 polyfills from local

This commit is contained in:
corubba
2022-05-27 13:01:32 +02:00
parent 674704609b
commit 54b2c5918f
5 changed files with 18 additions and 7 deletions

View File

@ -20,12 +20,13 @@
{% if SETTING.get('custom_css') %}
<link rel="stylesheet" href="/static/custom/{{ SETTING.get('custom_css') }}">
{% endif %}
{% assets "js_ie8" -%}
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
<![endif]-->
{%- endassets %}
{% endblock %}
</head>
<body class="hold-transition skin-blue sidebar-mini {% if not SETTING.get('fullscreen_layout') %}layout-boxed{% endif %}">