I am using Weasyprint library (version - 52.2) in Python to generate PDF. The following documents helps to add common header/footer for all the pages in the pdf