Hi, it may be too complicated, but I am trying to figure out how I can implenment this block of code into Publii’s sub menus. I understand how to create the basic Publii menu, but these sub menus with the classes I have in my HTML are confusing me. Is there any way to do this?
<ul class="nav navbar-nav">
<li class="nav-item">
Home
<li class="nav-item dropdown">
Start Here
<li class="nav-item">Sermons
<li class="nav-item">Events
<li class="nav-item">Contact
and
{{#unless level}}
<nav>
{{/unless}}
<ul{{#if level}} class="submenu submenu-level-{{level}}"{{else}} class="menu menu-level-1"{{/if}}>
{{#each items}}
<li{{menuItemClasses}}>
{{#if link}}
{{label}}
{{else}}
<span{{#if title}} title="{{title}}"{{/if}}>{{label}}</span>
{{/if}}
{{#if items}}
{{> menu}}
{{/if}}
{{/each}}
{{#unless level}}
</nav>
{{/unless}}
Thank you,
Nick