1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-27 17:00:54 +01:00

Moved Modernizr to top to ensure basic usability in IE8

This commit is contained in:
squidfunk 2016-02-20 17:25:14 +01:00
parent fd290d0d7c
commit e7a41822a0
3 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,7 @@
mkdocs-material-0.x.x (2016-xx-xx)
* Fixed #2: Ordered lists within an unordered list have ::before content
* Fixed #3: Ordered lists within an unordered list have ::before content
* Moved Modernizr to top to ensure basic usability in IE8
mkdocs-material-0.1.2 (2016-02-16)

View File

@ -77,6 +77,7 @@
{% for path in extra_css %}
<link rel="stylesheet" href="{{ path }}">
{% endfor %}
<script src="{{ base_url }}/assets/javascripts/modernizr-4ab42b99fd.js"></script>
{% block extrahead %}{% endblock %}
</head>
<body>
@ -137,7 +138,6 @@
</div>
</div>
</main>
<script src="{{ base_url }}/assets/javascripts/modernizr-4ab42b99fd.js"></script>
<script>
var base_url = '{{ base_url }}';
var repo_id = '{{ repo_id }}';

View File

@ -114,6 +114,9 @@
<link rel="stylesheet" type="text/css" href="{{ path }}" />
{% endfor %}
<!-- Modernizr -->
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
<!-- Custom header -->
{% block extrahead %}{% endblock %}
</head>
@ -215,9 +218,6 @@
</div>
</main>
<!-- Modernizr -->
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
<!-- Theme-related and custom javascripts -->
<script>
var base_url = '{{ base_url }}';