{{if $pages}}
{{foreach $pages as $key => $items}} {{foreach $items as $item}}
{{if $edit}} {{/if}} {{if $view}} {{/if}} {{if $preview}} {{/if}} {{$item.title}}
{{/foreach}} {{/foreach}}
{{/if}}