Header titles & custom homepages

Added 'is not front page' (line 29 & 49) as it adds a - character to the front of the page title if using a custom homepage. Also added is_front_page but suspect this was covered earlier.