Is there a way to apply a seperate template to different levels in Wayfinder?

64 Views Asked by At

I want to create a sub menu that uses divs and spans instead of uls, eg:

<ul>
 <li>Item</li>
 <li>Item</li>
 <li>Item
  <div>
    <span>Sub-item</span>
    <span>Sub-item</span>
    <span>Sub-item</span>
  </div>
 </li>
 <li>Item</li>
</ul>

Is there a way to achieve this with Wayfinder (or getResources)?

0

There are 0 best solutions below