Updated if statement on index page using .blank?