I am trying to copy the content of an element that exists inside the <footer> element of an HTML file into a @page region to make a running footer. However, the content only appears in the last page of the PDF file and not on every page as I expected.
Is there a restriction where only elements that are nested in the <main> HTML element can be pulled into an @page region on every page of the PDF and that content of elements in nested in the <footer> can only appear on the last page of the PDF?
I have not been able to solve the problem, but was able to create a different solution by pulling the string content from <meta> elements in the <head>. I need to make sure that the HTML file generates with the following meta elements: