mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Harsh Shandilya
543916f14a
Lighthouse reports that the aria-controls attribute has an invalid value[1]. This patch resolves it, fixing the lighthouse score[2]. 1: https://github.com/msfjarvis/msfjarvis.dev/suites/933117726/artifacts/11488586 2: https://github.com/msfjarvis/msfjarvis.dev/suites/933157898/artifacts/11489135 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
12 lines
336 B
HTML
12 lines
336 B
HTML
<nav class="nav" id="navigation">
|
|
<ul class="nav__list">
|
|
{{ $currentPage := . }}
|
|
{{ range .Site.Menus.main }}
|
|
<li>
|
|
<a {{ if or ($currentPage.IsMenuCurrent "main" .) (eq $currentPage.Section .Identifier) }} class="active"
|
|
{{end}} href="{{ .URL }}">{{ .Name }}</a>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</nav>
|