Skip to content

Commit c7362ed

Browse files
committed
fixup! Add Hugo-based docs site
1 parent 860fcfe commit c7362ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/layouts/_default/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@
198198
</head>
199199
<body>
200200
<nav class="page-nav">
201-
<a href="{{ .Site.Home.RelPermalink }}"{{ if .IsHome }} class="active"{{ end }}>{{ .Site.Title }}</a>
201+
<a href="{{ .Site.Home.RelPermalink }}"{{ if .IsHome }} class="active" aria-current="page"{{ end }}>{{ .Site.Title }}</a>
202202
{{ range .Site.RegularPages }}
203-
<a href="{{ .RelPermalink }}"{{ if eq $.RelPermalink .RelPermalink }} class="active"{{ end }}>{{ or .Title .File.BaseFileName }}</a>
203+
<a href="{{ .RelPermalink }}"{{ if eq $.RelPermalink .RelPermalink }} class="active" aria-current="page"{{ end }}>{{ or .Title .File.BaseFileName }}</a>
204204
{{ end }}
205205
</nav>
206206
<main>

0 commit comments

Comments
 (0)