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) 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) mkdocs-material-0.1.2 (2016-02-16)

View File

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

View File

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