Dynamic Header & Footer
One of Betterprint's powerful benefits are dynamic Header and Footer. They will allow features like multiple-headers per Document, Adding running Texts or Numbers into the header and much more.
Basics
<paginate-source data-key="MYCUSTOMKEY"></paginate-source>Running content
<!-- Set the footer content -->
<paginate-source data-key="footer">
<h1><paginate-target data-key="chapter"></paginate-target></h1>
</paginate-source>
<!-- Start a chapter and apply this content to the footer -->
<paginate-source data-key="chapter">CHAPTER 1</paginate-source>
<p>This is my first page content</p>
<!-- Add a page break -->
{{ better_page_break() }}
<!-- Start a second chapter and apply this content to the footer -->
<paginate-source data-key="chapter">CHAPTER 2</paginate-source>
<p>This is my second page content</p>Header Source Element
Footer Source Element
Page numbers
Last updated