def with links ul for link in links li link url li ul

1
2
3
4
5
$def with (links)
<ul>
$for link in links:
<li>$link.url</li>
</ul>