You can either set header
and footer
manually with set page(..)
or use numbering
and number-align
too for the current page count.
#set page(
numbering: (x, ..) => [Page -- #x],
number-align: center + top,
footer: context [
#set align(right) // Could also use #{ int(counter(page).display()) + 1}.
Continue Page -- #numbering("1", ..counter(page).at(here()).map(x => x + 1))
],
height: auto
)
#lorem(20)
#pagebreak()
#lorem(20)