Adding a conditional check to prevent php  notice errors about the left hand nav on the homepage