{list childrenof=$node}
<li{if $first} class="first"{/if}>{$title}</li>
<li{if $last} class="last"{/if}>{$title}</li>
{/list}
trick with {list}
Get a node by his name to use his attributes:
{list nodes="smartphone_register"}
{$title}
{/list}
{list childrenof=$node}
<li{if $first} class="first"{/if}>{$title}</li>
<li{if $last} class="last"{/if}>{$title}</li>
{/list}
Get a node by his name to use his attributes:
{list nodes="smartphone_register"}
{$title}
{/list}