<ul{{#if level}} class="navbar__submenu level-{{level}}" aria-hidden="true" {{else}} class="navbar__menu"{{/if}}>
   {{#each items}}
         <li{{menuItemClasses}}>
      {{#if link}}
         <a
            href="{{menuUrl}}"
            {{#if title}}
               title="{{title}}"
            {{/if}}
            {{#if target}}
               target="{{target}}"
            {{/if}}
            {{#if rel}}
               rel="{{rel}}"
            {{/if}}
            {{#if items}} 
               aria-haspopup="true"
            {{/if}}>
            {{label}}
         </a>
      {{else}}
         <span 
            class="is-separator"
            {{#if title}}
               title="{{title}}"
            {{/if}} 
            {{#if items}} 
               aria-haspopup="true"
            {{/if}}>
            {{label}}
         </span>
      {{/if}}

      {{#if items}}
         {{> menu}}
      {{/if}}
   </li>
   {{/each}}
</ul>