Display maxPages in the footerTemplate