Merge pull request #31643 from sftim/20220206_fix_navbar_span
Fix incorrect markup for navbarpull/31651/head^2
commit
4ba12fc856
|
@ -10,7 +10,7 @@
|
||||||
{{ with site.GetPage "section" . }}
|
{{ with site.GetPage "section" . }}
|
||||||
<li class="nav-item mr-2 mb-lg-0">
|
<li class="nav-item mr-2 mb-lg-0">
|
||||||
{{ $active := eq .Section $.Section }}
|
{{ $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>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue