diff options
author | Andreas Schempp <andreas.schempp@terminal42.ch> | 2015-05-23 09:14:26 +0200 |
---|---|---|
committer | Andreas Schempp <andreas.schempp@terminal42.ch> | 2015-05-23 09:14:26 +0200 |
commit | 1a6077824855ce4a43d464bd9171e777f2fa77ae (patch) | |
tree | 9ab7530f3a4b85903cee81bd7563796b189a6ab3 | |
parent | 82f3ffad06ee417f38b7f981f669dd8bd6526faf (diff) | |
download | gitbook-1a6077824855ce4a43d464bd9171e777f2fa77ae.zip gitbook-1a6077824855ce4a43d464bd9171e777f2fa77ae.tar.gz gitbook-1a6077824855ce4a43d464bd9171e777f2fa77ae.tar.bz2 |
Move style sheets to the <head> section
see https://github.com/GitbookIO/gitbook/issues/756
-rw-r--r-- | theme/templates/website/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/website/layout.html b/theme/templates/website/layout.html index 6f5a845..d2d16fc 100644 --- a/theme/templates/website/layout.html +++ b/theme/templates/website/layout.html @@ -17,12 +17,12 @@ <meta name="apple-mobile-web-app-status-bar-style" content="black"> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{{ staticBase }}/images/apple-touch-icon-precomposed-152.png"> <link rel="shortcut icon" href="{{ staticBase }}/images/favicon.ico" type="image/x-icon"> + {% block style %}{% endblock %} {% block head %}{% endblock %} {{ htmlSnippet("head:end")|default("")|safe }} </head> <body> {{ htmlSnippet("body:start")|default("")|safe }} - {% block style %}{% endblock %} {% block content %}{% endblock %} {% block javascript %}{% endblock %} {{ htmlSnippet("body:end")|default("")|safe }} |