conditional for blog navigation