link to pages in header or footer depending on boolean