{if $nodelist|@count>0}
    <ul class="service-menu2">
        {foreach from=$nodelist item=node name=pagr key=key}
            <li class="{if ($node->current == true) || ($node->parent) }selected{/if}">
                <a href="{$node->url}"{if $node->target} target="{$node->target}"{/if}>
                    <i class="fa fa-chevron-right" aria-hidden="true"></i>
                    {$node->menutext}
                </a>
            </li>
        {/foreach}
    </ul>
{/if}