summaryrefslogtreecommitdiffstats
path: root/theme/templates/ebook/layout.html
blob: 982618ff6e9e7d3ff81e84613ec36f21655530c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE HTML>
<html lang="{{ language }}" {% block htmlTag %}{% endblock %} {% if options.direction == "rtl" %}dir="rtl"{% endif %}>
    {{ htmlSnippet("html:start")|default("", true)|safe }}
    <head>
        {{ htmlSnippet("head:start")|default("", true)|safe }}
        <meta charset="UTF-8">
        <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 }}">
        {% 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 content %}{% endblock %}
        {% block javascript %}{% endblock %}
        {{ htmlSnippet("body:end")|default("", true)|safe }}
    </body>
    {{ htmlSnippet("html:end")|default("", true)|safe }}
</html>