summaryrefslogtreecommitdiffstats
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/ebook/layout.html12
-rw-r--r--theme/templates/website/layout.html12
2 files changed, 12 insertions, 12 deletions
diff --git a/theme/templates/ebook/layout.html b/theme/templates/ebook/layout.html
index 1ff85bf..c2501b6 100644
--- a/theme/templates/ebook/layout.html
+++ b/theme/templates/ebook/layout.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html lang="{{ language }}" {% block htmlTag %}{% endblock %} {% if options.direction == "rtl" %}dir="rtl"{% endif %}>
- {{ htmlSnippet("html:start")|default("")|safe }}
+ {{ htmlSnippet("html:start")|default("", true)|safe }}
<head>
- {{ htmlSnippet("head:start")|default("")|safe }}
+ {{ 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">
@@ -11,14 +11,14 @@
{% 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 %}
- {{ htmlSnippet("head:end")|default("")|safe }}
+ {{ htmlSnippet("head:end")|default("", true)|safe }}
</head>
<body>
- {{ htmlSnippet("body:start")|default("")|safe }}
+ {{ htmlSnippet("body:start")|default("", true)|safe }}
{% block style %}{% endblock %}
{% block content %}{% endblock %}
{% block javascript %}{% endblock %}
- {{ htmlSnippet("body:end")|default("")|safe }}
+ {{ htmlSnippet("body:end")|default("", true)|safe }}
</body>
- {{ htmlSnippet("html:end")|default("")|safe }}
+ {{ htmlSnippet("html:end")|default("", true)|safe }}
</html>
diff --git a/theme/templates/website/layout.html b/theme/templates/website/layout.html
index 9e66799..f3817d9 100644
--- a/theme/templates/website/layout.html
+++ b/theme/templates/website/layout.html
@@ -1,8 +1,8 @@
<!DOCTYPE HTML>
<html lang="{{ language }}" {% if options.direction == "rtl" %}dir="rtl"{% endif %}>
- {{ htmlSnippet("html:start")|default("")|safe }}
+ {{ htmlSnippet("html:start")|default("", true)|safe }}
<head>
- {{ htmlSnippet("head:start")|default("")|safe }}
+ {{ htmlSnippet("head:start")|default("", true)|safe }}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{% block title %}{% endblock %}</title>
@@ -19,13 +19,13 @@
<link rel="shortcut icon" href="{{ staticBase }}/images/favicon.ico" type="image/x-icon">
{% block style %}{% endblock %}
{% block head %}{% endblock %}
- {{ htmlSnippet("head:end")|default("")|safe }}
+ {{ htmlSnippet("head:end")|default("", true)|safe }}
</head>
<body>
- {{ htmlSnippet("body:start")|default("")|safe }}
+ {{ htmlSnippet("body:start")|default("", true)|safe }}
{% block content %}{% endblock %}
{% block javascript %}{% endblock %}
- {{ htmlSnippet("body:end")|default("")|safe }}
+ {{ htmlSnippet("body:end")|default("", true)|safe }}
</body>
- {{ htmlSnippet("html:end")|default("")|safe }}
+ {{ htmlSnippet("html:end")|default("", true)|safe }}
</html>