{{ $active := or $home $menuprefix $sectionprefix }}
{{ $active := or $home $menuprefix $sectionprefix }}
<liclass="nav-item {{ if .Children }} dropdown {{ end }}">
<liclass="nav-item {{ if .Children }} dropdown {{ end }}">
<a{{if$active}}aria-current="page"{{end}}{{if.Children}}aria-expanded="false"{{end}}class="{{ if $active }} active {{ if $links }} fw-bold text-body-emphasis {{ end }} {{ end }} {{ if .Params.paige.disabled }} disabled {{ end }} nav-link {{ if .Children }} dropdown-toggle {{ end }} {{ if $links }} text-decoration-underline {{ end }}" {{if.Children}}data-bs-toggle="dropdown"{{end}}href="{{ if not .Children -}} {{- .URL | safeURL -}} {{- end }}"{{if.Children}}role="button"{{end}}{{ifnot.Children}}{{withpartial"paige/target.html"(dict"page"$page"url".URL)}}target="{{ . }}"{{end}}{{end}}>{{ .Name | markdownify }}</a>
<a{{if$active}}aria-current="page"{{end}}{{if.Children}}aria-expanded="false"{{end}}class="{{ if $active }} active {{ if $links }} fw-bold text-body {{ end }} {{ end }} {{ if .Params.paige.disabled }} disabled {{ end }} nav-link {{ if .Children }} dropdown-toggle {{ end }} {{ if $links }} text-decoration-underline {{ end }}" {{if.Children}}data-bs-toggle="dropdown"{{end}}href="{{ if not .Children -}} {{- .URL | safeURL -}} {{- end }}"{{if.Children}}role="button"{{end}}{{ifnot.Children}}{{withpartial"paige/target.html"(dict"page"$page"url".URL)}}target="{{ . }}"{{end}}{{end}}>{{ .Name | markdownify }}</a>
{{ with .Children }}
{{ with .Children }}
<ulclass="dropdown-menu">
<ulclass="dropdown-menu">
@ -118,7 +118,7 @@
{{ $active := or $home $menuprefix $sectionprefix }}
{{ $active := or $home $menuprefix $sectionprefix }}
<liclass="nav-item">
<liclass="nav-item">
<a{{if$active}}aria-current="page"{{end}}class="{{ if $active }} active {{ if $links }} fw-bold text-body-emphasis {{ end }} {{ end }} nav-link {{ if $links }} text-decoration-underline {{ end }}" href="{{ .RelPermalink | safeURL }}"{{withpartial"paige/target.html"(dict"page"$page"url".RelPermalink)}}target="{{ . }}"{{end}}>{{ .Title }}</a>
<a{{if$active}}aria-current="page"{{end}}class="{{ if $active }} active {{ if $links }} fw-bold text-body {{ end }} {{ end }} nav-link {{ if $links }} text-decoration-underline {{ end }}" href="{{ .RelPermalink | safeURL }}"{{withpartial"paige/target.html"(dict"page"$page"url".RelPermalink)}}target="{{ . }}"{{end}}>{{ .Title }}</a>