<{$nav}> <{if isset($pages)}>
<{foreach item=page from=$pages}> <{if $page.current == 1}> <{$page.number}>  <{else}> <{$page.number}>  <{/if}> <{/foreach}>
<{/if}>