Permalink $page.CurrentSection.RelPermalink }}
          <details {{ if $active }}open{{ end }} class="{{ if $active }}active{{ end }}">
            <summary class="{{ if $active }}active{{ end }}" hugo-nav="{{ $element.RelPermalink }}"><a href="{{ $element.Permalink }}">{{ $element.LinkTitle }}</a></summary>
            {{ range $element.Pages }}
              {{ $active := eq .RelPermalink $page.RelPermalink }}
              <li class="{{ if $active }}active{{ end }}" hugo-nav="{{ .RelPermalink }}"><a hre