Add footer and header to pages.