summaryrefslogtreecommitdiffstats
path: root/theme/templates/website/layout.html
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-15 06:29:14 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-15 06:29:14 +0100
commit80432161708357bdcf0e00533d9e6d327636dab6 (patch)
tree8ce12831a41e532fbf784b000b35fcc94d5a03bf /theme/templates/website/layout.html
parent2cab0187919b1c8d9cb7dcdcd04d45e1b536b4ef (diff)
parent3c7372dff58aa13d1a48be18ca0fe2ed1bcedfde (diff)
downloadgitbook-80432161708357bdcf0e00533d9e6d327636dab6.zip
gitbook-80432161708357bdcf0e00533d9e6d327636dab6.tar.gz
gitbook-80432161708357bdcf0e00533d9e6d327636dab6.tar.bz2
Merge pull request #555 from GitbookIO/feature/styles
Add custom styles options
Diffstat (limited to 'theme/templates/website/layout.html')
-rw-r--r--theme/templates/website/layout.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/theme/templates/website/layout.html b/theme/templates/website/layout.html
new file mode 100644
index 0000000..5dc7c5e
--- /dev/null
+++ b/theme/templates/website/layout.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML>
+<html lang="en-US" {% block htmlTag %}{% endblock %}>
+ {{ htmlSnippet("html:start")|default("") }}
+ <head>
+ {{ htmlSnippet("head:start")|default("") }}
+ <meta charset="UTF-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE" />
+ <title>{% block title %}{% endblock %}</title>
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
+ <meta name="description" content="{% block description %}{% endblock %}">
+ <meta name="generator" content="GitBook {{ gitbook.version }}">
+ <meta name="HandheldFriendly" content="true"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <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">
+ {% if options.isbn %}
+ <meta name="identifier" content="{{ options.isbn }}" scheme="ISBN">
+ {% endif %}
+ {% block head %}{% endblock %}
+ {{ htmlSnippet("head:end")|default("") }}
+ </head>
+ <body>
+ {{ htmlSnippet("body:start")|default("") }}
+ {% block style %}{% endblock %}
+ {% block content %}{% endblock %}
+ {% block javascript %}{% endblock %}
+ {{ htmlSnippet("body:end")|default("") }}
+ </body>
+ {{ htmlSnippet("html:end")|default("") }}
+</html>