diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-05-23 17:00:37 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-05-23 17:00:37 +0200 |
commit | 7c0b88cf2e1615e6c9e889052dbda31c3f8ad3f1 (patch) | |
tree | 3c2dd8a39cc477f00b1881764f0fd7bf0a67a650 /theme | |
parent | bf21633b6c0f08f69452ceccf5e3c80dcbd62ad4 (diff) | |
download | gitbook-7c0b88cf2e1615e6c9e889052dbda31c3f8ad3f1.zip gitbook-7c0b88cf2e1615e6c9e889052dbda31c3f8ad3f1.tar.gz gitbook-7c0b88cf2e1615e6c9e889052dbda31c3f8ad3f1.tar.bz2 |
Plugins can extend html
Diffstat (limited to 'theme')
-rwxr-xr-x | theme/templates/layout.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/theme/templates/layout.html b/theme/templates/layout.html index 644e993..5f76e5e 100755 --- a/theme/templates/layout.html +++ b/theme/templates/layout.html @@ -1,6 +1,8 @@ <!DOCTYPE HTML> <html lang="en-US" {% block htmlTag %}{% endblock %}> + {{ htmlSnippet("html:start")|default("") }} <head prefix="og: http://ogp.me/ns# book: http://ogp.me/ns/book#"> + {{ htmlSnippet("head:start")|default("") }} {% block head %} <meta charset="UTF-8"> <title>{% block title %} | {{ title }}{% endblock %}</title> @@ -33,8 +35,10 @@ <link rel="shortcut icon" href="{{ staticBase }}/images/favicon.ico" type="image/x-icon"> {% endblock %} + {{ htmlSnippet("head:end")|default("") }} </head> <body> + {{ htmlSnippet("body:start")|default("") }} {% block style %} <link rel="stylesheet" href="{{ staticBase }}/style.css"> {% endblock %} @@ -45,5 +49,7 @@ <script src="{{ staticBase }}/jsrepl/jsrepl.js" id="jsrepl-script"></script> <script src="{{ staticBase }}/app.js"></script> {% endblock %} + {{ htmlSnippet("body:end")|default("") }} </body> + {{ htmlSnippet("html:end")|default("") }} </html> |