Skip to content

Commit 47f5491

Browse files
author
Laurie0131
committed
Updates _layouts/ebook/pdf_header.html
Auto commit by GitBook Editor
1 parent f2b2690 commit 47f5491

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

_layouts/ebook/pdf_header.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
{% block body %}
44
<div class="pdf-header">
55
<p>
6-
<div style="text-align:right">{{ page.title }}</div>
6+
{% if book.draft %}
7+
<div style="position:absolute;text-align:left">{{ book.title }}[DRAFT]</div>
8+
{% else %}
9+
<div style="position:absolute;text-align:left">{{ book.title }}</div>
10+
{% endif %}
11+
<div style="text-align:right"><br>{{ page.title }}</div>
712
</p>
813
</div>
914
{% endblock %}

0 commit comments

Comments
 (0)