Skip to main content

Ivan Teoh

Something personal yet public

188-template11.html

(Source)

1
2
3
4
<ul tal:switch="len(items) % 2">
    <li tal:case="True">odd</li>
    <li tal:case="False">even</li>
</ul>