Added open if and end if statement

Added if statements so that we can choose which pages show the banner
and which pages have the banner hidden