summaryrefslogtreecommitdiffstats
path: root/theme/templates/layout.html
diff options
context:
space:
mode:
Diffstat (limited to 'theme/templates/layout.html')
-rwxr-xr-xtheme/templates/layout.html44
1 files changed, 8 insertions, 36 deletions
diff --git a/theme/templates/layout.html b/theme/templates/layout.html
index 5f76e5e..7f0a83f 100755
--- a/theme/templates/layout.html
+++ b/theme/templates/layout.html
@@ -1,54 +1,26 @@
<!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#">
+ <head>
{{ htmlSnippet("head:start")|default("") }}
- {% block head %}
<meta charset="UTF-8">
- <title>{% block title %} | {{ title }}{% endblock %}</title>
-
+ <title>{% block 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="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="shortcut icon" href="{{ staticBase }}/images/favicon.ico" type="image/x-icon">
- {% endblock %}
+ {% block head %}{% endblock %}
{{ htmlSnippet("head:end")|default("") }}
</head>
<body>
{{ htmlSnippet("body:start")|default("") }}
- {% block style %}
- <link rel="stylesheet" href="{{ staticBase }}/style.css">
- {% endblock %}
+ {% block style %}{% endblock %}
{% 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 %}
+ {% block javascript %}{% endblock %}
{{ htmlSnippet("body:end")|default("") }}
</body>
{{ htmlSnippet("html:end")|default("") }}