diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-05-30 18:11:15 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-05-30 18:11:15 +0200 |
commit | 13fb949d6818bc47a2215ee788c392fa38e1e1d6 (patch) | |
tree | 10d045d8a521f33323fb217c5c8dc67df2c67d1a | |
parent | f998e2dec9281cf5194383f8c69f267d31fa36c0 (diff) | |
parent | f1b593cfbd3c939d18f7e033de138837020d025a (diff) | |
download | gitbook-13fb949d6818bc47a2215ee788c392fa38e1e1d6.zip gitbook-13fb949d6818bc47a2215ee788c392fa38e1e1d6.tar.gz gitbook-13fb949d6818bc47a2215ee788c392fa38e1e1d6.tar.bz2 |
Merge pull request #774 from wilhelmmatilainen/patch-1
Styling should go to <head>, not to <body>
-rw-r--r-- | theme/templates/ebook/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/ebook/layout.html b/theme/templates/ebook/layout.html index c2501b6..982618f 100644 --- a/theme/templates/ebook/layout.html +++ b/theme/templates/ebook/layout.html @@ -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 }} |