I am merging a block as follows:
<ul>
<li class="[blkSites.active; block=li]"><a href="http://[blkSites.url]"><img src="[blkSites.icon]" width="32px;" height="32px">[blkSites.name]</a></li>
</ul>
|
So the blkSites object contains an array with several values: active, url, icon and name.
I want to remove the img if there is not icon defined. I tried adding ;magnet=img to [blkSites.icon] but this does not work.
How would I achieve this?
Thank you