doc" .) }}class="active"{{end}}>
                    <a href="{{.URL}}">{{.Name}}</a>
                    {{ if .HasChildren }}
                      <ul class="nav">
                        {{ range .Children }}
                          <li {{if or ($currentNode.IsMenuCurrent "doc" .) ($currentNode.HasMenuCurrent "doc" .) }}class="active"{{end}}>
                            <a href="{{.URL}}">{{.Name}}</a>
                            {{ if .HasChildren }}
                              <ul class="nav">
   