             <span class="menu-arrow fa {{if $currentNode.HasMenuCurrent "main" . }}fa-angle-down{{else}}fa-angle-right{{end}}"></span>
            </a>
                <ul class="sub{{if $currentNode.HasMenuCurrent "main" . }} open{{end}}">
                    {{ range .Children }}
                    <li{{if $currentNode.IsMenuCurrent "main" . }} class="active"{{end}}><a href="{{.URL}}">{{ .Name }}</a> </li>
                    {{ end }}
                </ul>
              {{else}}
                <li>
  