summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schempp <andreas.schempp@terminal42.ch>2015-05-23 09:14:26 +0200
committerAndreas Schempp <andreas.schempp@terminal42.ch>2015-05-23 09:14:26 +0200
commit1a6077824855ce4a43d464bd9171e777f2fa77ae (patch)
tree9ab7530f3a4b85903cee81bd7563796b189a6ab3
parent82f3ffad06ee417f38b7f981f669dd8bd6526faf (diff)
downloadgitbook-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.html2
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 }}