added condition for site logo, sitename as alt