Control page break depending on the page number
- 
					
					
					
 Re: How to dynamically insert page break Hi Jan 
 Ok, I understand your answer. I am looking for something similar.
 In a handlebars template I have this:{{#each devices}} <div class="pageBreakBefore"> {{> device}} </div> {{/each}}I would like to have "pageBreakBefore" not added on the first page. 
 Is this possible?
 Thank you
 
- 
					
					
					
 oh dear! 
 Just have to usestyle="page-break-after: always;"after the div.
 It works.