diff options
author | 2017-10-24 13:34:38 +0200 | |
---|---|---|
committer | 2017-10-24 13:34:38 +0200 | |
commit | 97325dd67f3b7858bd093fc161d0a56e7c7bc9bd (patch) | |
tree | 6478f34c28889205ddd7f000e3dd75aef68316cd /ll-database-binding/conf.d/app-templates/docs/_layouts/ebook/pdf_header.html | |
parent | 4f50493fc0ef4d0c33124ebf52908849196ad685 (diff) |
replaced store binding with a database binding based on a berkeley db
Change-Id: I03978ecbf996ebc6d53a88dfd2b275051080016f
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'll-database-binding/conf.d/app-templates/docs/_layouts/ebook/pdf_header.html')
-rw-r--r-- | ll-database-binding/conf.d/app-templates/docs/_layouts/ebook/pdf_header.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ll-database-binding/conf.d/app-templates/docs/_layouts/ebook/pdf_header.html b/ll-database-binding/conf.d/app-templates/docs/_layouts/ebook/pdf_header.html new file mode 100644 index 0000000..ef49641 --- /dev/null +++ b/ll-database-binding/conf.d/app-templates/docs/_layouts/ebook/pdf_header.html @@ -0,0 +1,13 @@ +{% extends "./page.html" %} +{% block body %} +<div id="pdf-header" class="pdf-header"> + <span class="header-left">IoT.Bzh</span> + <span class="header-right">{{ config.title }}</span> +</div> + +<!-- Allow to hide header for some pages using hidepageheaders config in book.json --> +<script> + if (({% for num in config.hidepageheaders %}{{ page.num }} == {{ num }} || {% endfor %}false)) document.getElementById('pdf-header').style.display = 'none' +</script> + +{% endblock %}
\ No newline at end of file |