<div class="ow-aside-menu" id="aside-menu">
    <div class="aside-wrapper">
        <div class="logo"><a href="{$site_url}"><img src="{$config(site_logo)}" alt="{$site_name}" title="{$site_name}"></a></div>
        <div id="main-menu">
            {nav type="1" parent_id="0"}
            <ul class="menu">
            {nav:loop}
            <li class="n1"><a class="n1" href="[nav:url]">[nav:name]</a>
                {if:OW.int("[nav:children]")>0}
                    <span class="arrows"><i></i></span>
                    {nav2 parent_id="[nav:nav_id]"}
                    <ul class="sub-menu">
                    {nav2:loop}
                    <li class="n2"><a class="n2" href="[nav2:url]">[nav2:name]</a></li>
                    {/nav2:loop}
                    </ul>
                    {/nav2}
                {/if}
            </li>
            {/nav:loop}
            </ul>
            {/nav}
        </div>
    </div>
</div>