title: html2pdf page number
body: <p>I've got a html code and when I convert it to pdf using html2pdf, it is longer than a single page, and I need to put the page number in both pages.</p>
  
  <p>I've tried putting the page_footer code as it is said in this post: <a href="https://stackoverflow.com/questions/6386599/html2pdf-page-numbering">html2pdf page numbering</a></p>
  
  <p>but it only shows the page number in the last page, not in the first one. I can modify the html code, but I understand that if I put the  tag at the end of it, html2pdf thinks that it refers to the end of the code, not the end of the page.</p>
  
  <p>How can I put the page number in all the pages, from the first one to the last?</p>
  
  <p>thank you!</p>