Hi!
How can I make a footer on the first page? I need all the pages to be numbered, but on the first page, instead of the number “1”, there should be a footer with the current year’s number. Thank you!
Hi @Yana , welcome to the forum,
Adapting the example in Different header and footer on specific pages and following the advice:
You can, of course, add an
else
to this example to add a different header to the first page instead.
#set page(footer: context {
if counter(page).get().first() > 1 {
h(1fr)
counter(page).display()
} else {
h(1fr)
str(datetime.today().year())
}
})
#pagebreak()