I'm trying to add an id attribute to a link if a given variable is not empty. To do so I'm using the inline-if sentence.
<li><a != "" ? id= : '' href=""></a></li>
Output:
Aucun commentaire:
Enregistrer un commentaire