1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 02:15:56 +01:00

Fixed flash of unstyled content

This commit is contained in:
squidfunk 2017-11-01 18:25:08 +01:00 committed by Martin Donath
parent f14fa37f4d
commit 1be9225eb1
3 changed files with 9 additions and 8 deletions

View File

@ -3,6 +3,7 @@ mkdocs-material-2.x.x (2017-xx-xx)
* Added Russian translations * Added Russian translations
* Fixed #542: Horizontal scrollbar between 1220px and 1234px * Fixed #542: Horizontal scrollbar between 1220px and 1234px
* Fixed #553: Metadata values only rendering first character * Fixed #553: Metadata values only rendering first character
* Fixed #558: Flash of unstyled content
* Fixed favicon regression caused by deprecation upstream * Fixed favicon regression caused by deprecation upstream
mkdocs-material-2.0.1 (2017-10-31) mkdocs-material-2.0.1 (2017-10-31)

View File

@ -45,15 +45,15 @@
<title>{{ config.site_name }}</title> <title>{{ config.site_name }}</title>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block libs %}
<script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script>
{% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-5b1b46901f.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-5b1b46901f.css">
{% if palette.primary or palette.accent %} {% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-23f75ab9c7.palette.css">
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block libs %}
<script src="{{ base_url }}/assets/javascripts/modernizr-e826f8942a.js"></script>
{% endblock %}
{% block fonts %} {% block fonts %}
{% if font != false %} {% if font != false %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{

View File

@ -92,11 +92,6 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<!-- JavaScript libraries -->
{% block libs %}
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
{% endblock %}
<!-- Stylesheets --> <!-- Stylesheets -->
{% block styles %} {% block styles %}
@ -111,6 +106,11 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<!-- JavaScript libraries -->
{% block libs %}
<script src="{{ base_url }}/assets/javascripts/modernizr.js"></script>
{% endblock %}
<!-- Webfonts --> <!-- Webfonts -->
{% block fonts %} {% block fonts %}
{% if font != false %} {% if font != false %}