@if(href !== '') { <?php echo $logoAlt ?> } else { <?php echo $logoAlt; ?> }