Fix incorrect markup for navbar

Remove a vestigial </span> from the partial.
This commit is contained in:
Tim Bannister
2022-02-06 22:16:17 +00:00
parent fdd25460d8
commit 7245f44c52
+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 }}