mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-03 20:20:35 +00:00
Merge pull request #774 from wilhelmmatilainen/patch-1
Styling should go to <head>, not to <body>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user