<nav id="nav-container"> <ul> <li><a href="#">Hello</a> <ul class="sub-menu"> <li><a href="index.html">Index Fullscreen</a></li> <li><a href="index-corporate.html">Index Corporate</a></li> </ul> </li> <li><a href="services.html">Services</a></li> <li> <a href="#">Portfolio</a> <ul class="sub-menu"> <li><a href="portfolio-grid.html">Portfolio Grid</a></li> <li><a href="portfolio-masonry.html">Portfolio Masonry</a></li> <li><a href="portfolio-projects.html">Portfolio Projects</a></li> </ul> </li> <li> <a href="#">Portfolio Single</a> <ul class="sub-menu"> <li><a href="portfolio-single-slider.html">Single Slider</a></li> <li><a href="portfolio-single-images.html">Single Images</a></li> </ul> </li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav>
This question has been answered by ottogal. See the first response.
<nav id="nav-container"> [[Wayfinder? &startId=`0` &level=`2` &rowTpl=`rowTemplate` &innerTpl=`innerTpl` ]] </nav>
<li><a href="[[+wf.link]]" >[[+wf.linktext]]</a></li>
<ul class="sub-menu"> [[+wf.wrapper]] </ul>
<li[[*id:is=`[[+id]]`:then=` class="active"`]]> [[+link_attributes:isnot=`nolink`:then=` <a href="[[~[[+id]]]]"> `:else=` <a> `]] [[+menutitle:default=`[[+pagetitle]]`]] </a> [[[[+level:lt=`[[+maxLevel]]`:then=`getResources@main-menu? &parents=`[[+id]]` &level=`[[+level:add]]``:else=`-`]]]] </li>
<li><a href="[[+wf.link]]" >[[+wf.linktext]]</a>[[+wf.wrapper]]</li>