Skip to content

Commit

Permalink
fix html-validate unique-landmark warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kujenga committed Jun 24, 2024
1 parent c0fede6 commit a3a2158
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/nav.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<nav class="navbar navbar-expand-lg navbar-light bg-light" aria-label="Primary">
<div class="container">
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}">
{{- $navImage := (resources.Get
Expand Down
5 changes: 4 additions & 1 deletion layouts/partials/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
Table of Contents
<i class="fa fa-plus" aria-hidden="true"></i>
</a>
<div id="toc" class="collapse">{{.TableOfContents}}</div>
<div id="toc" class="collapse">
{{ .TableOfContents | replaceRE "id=\"TableOfContents\""
"id=\"TableOfContents\" aria-label=\"Table of Contents\"" | safeHTML }}
</div>
</aside>
</div>
{{ end }}

0 comments on commit a3a2158

Please sign in to comment.