summaryrefslogtreecommitdiffstats
path: root/docs/_layouts/ebook/pdf_footer.html
blob: cc6464bd08e0f7cf93e80623b29969456ff55ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{% extends "./page.html" %}
{% block body %}
<div id="pdf-footer" class="pdf-footer">
    <span class="footer-left">Version {{ config.version }}</span>
    <span class="footer-right">{{ page.num }}</span>
    <span class="footer-center">{{ config.published }}</span>
</div>

<!-- Allow to hide header for some pages using hidepageheaders config in book.json -->
<script>
    if (({% for num in config.hidepagefooters %}{{ page.num }} == {{ num }} || {% endfor %}false)) document.getElementById('pdf-footer').style.display = 'none'
</script>
{% endblock %}