summaryrefslogtreecommitdiffstats
path: root/theme/templates/layout.html
blob: 7f564b27c25ebccd19c38ac85684724daaac6354 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE HTML>
<html lang="en-US">
    <head prefix="og: http://ogp.me/ns# book: http://ogp.me/ns/book#">
        {% block head %}
        <meta charset="UTF-8">
        <title>{% block title %} | {{ title }}{% endblock %}</title>

        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <meta name="robots" content="index, follow">
        <meta name="author" content="{{ githubAuthor }}">
        <meta name="description" content="{{ description }}">
        <meta name="keywords" content="gitbook,github" >
        <meta name="generator" content="www.gitbook.io">

        {% if progress.current.next and progress.current.next.path %}
        <link rel="next" href="{{ basePath }}/{{ progress.current.next.path|mdLink }}" />
        {% endif %}
        {% if progress.current.prev and progress.current.prev.path %}
        <link rel="prev" href="{{ basePath }}/{{ progress.current.prev.path|mdLink }}" />
        {% endif %}

        <meta property="og:title" content="{% block title %} | {{ title }}{% endblock %}">
        <meta property="og:site_name" content="{{ title }}">
        <meta property="og:type" content="book">
        <meta property="og:locale" content="en_US">

        <meta property="book:author" content="{{ githubHost }}{{ githubAuthor }}">
        <meta property="book:tag" content="GitBook">

        <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="shortcut icon" href="{{ staticBase }}/images/favicon.ico" type="image/x-icon">

        {% block style %}
        <link rel="stylesheet" href="{{ staticBase }}/style.css">
        {% endblock %}
        {% endblock %}
    </head>
    <body>
        {% block content %}{% endblock %}
        {% block javascript %}
        <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/ace.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.1.3/mode-javascript.js"></script>
        <script src="{{ staticBase }}/jsrepl/jsrepl.js" id="jsrepl-script"></script>
        <script src="{{ staticBase }}/app.js"></script>
        {% endblock %}
    </body>
</html>