output conditional for single or home page