Styling should go to <head>, not to <body>

https://developers.google.com/speed/pagespeed/module/filter-css-to-head
This commit is contained in:
Wilhelm
2015-05-29 15:42:40 +03:00
parent f998e2dec9
commit f1b593cfbd
+1 -1
View File
@@ -11,11 +11,11 @@
{% if options.author %}<meta name="author" content="{{ options.author }}">{% endif %}
{% if options.isbn %}<meta name="identifier" content="{{ options.isbn }}" scheme="ISBN">{% endif %}
{% block head %}{% endblock %}
{% block style %}{% endblock %}
{{ htmlSnippet("head:end")|default("", true)|safe }}
</head>
<body>
{{ htmlSnippet("body:start")|default("", true)|safe }}
{% block style %}{% endblock %}
{% block content %}{% endblock %}
{% block javascript %}{% endblock %}
{{ htmlSnippet("body:end")|default("", true)|safe }}