if else for blog