{if count($item->links)}
attribs|@html_render_attribs}> {foreach from = $item->links item = linkItem name = 'links'} {if $linkItem.url} {$linkItem.title|htmlspecialchars} {else} {$linkItem.title|htmlspecialchars} {/if} {if !$smarty.foreach.links.last} {$linkItem.options.delimiter} {/if} {/foreach}
{/if}