Conditional rendering of footer