Merge pull request #31643 from sftim/20220206_fix_navbar_span

Fix incorrect markup for navbar
This commit is contained in:
Kubernetes Prow Robot
2022-02-06 21:11:42 -08:00
committed by GitHub
+1 -1
View File
@@ -10,7 +10,7 @@
{{ with site.GetPage "section" . }}
<li class="nav-item mr-2 mb-lg-0">
{{ $active := eq .Section $.Section }}
<a class="nav-link{{if $active }} active{{end}}" href="{{ .RelPermalink }}" >{{ .Title }}</span></a>
<a class="nav-link{{if $active }} active{{end}}" href="{{ .RelPermalink }}" >{{ .Title }}</a>
</li>
{{ end }}
{{ end }}