aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAnthony Wang2024-03-09 20:52:15 +0000
committerAnthony Wang2024-03-09 20:52:15 +0000
commitdaa094b7fbf7d21aea9eee42915c0c48cbb8fd29 (patch)
tree6401330fd82aff044e2083d5c50bc37446b63918 /layouts
parent340413c6e4f64da1e4cc8eef88a728539e710f6a (diff)
Switch to own fork with Nu HTML Checker fixes
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 22db943..d4adda2 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -4,7 +4,7 @@
{{ if isset .Site.Params "avatarurl" }}
<div class="avatar">
<a href="{{ .Site.BaseURL }}">
- <img src='{{ .Scratch.Get "avatarImgSrc" }}' alt="{{ .Site.Params.AvatarAltText|default "avatar" }}" />
+ <img src='{{ .Scratch.Get "avatarImgSrc" }}' alt="{{ .Site.Params.AvatarAltText|default "avatar" }}">
</a>
</div>
{{ end }}
@@ -32,14 +32,14 @@
<span class="nav-icons-divider"></span>
<div class="nav-link dark-theme-toggle">
- <span id="dark-theme-toggle-screen-reader-target" class="sr-only"></span>
+ <span class="sr-only dark-theme-toggle-screen-reader-target"></span>
<a>
- <span id="theme-toggle-icon" data-feather="moon"></span>
+ <span class="theme-toggle-icon" data-feather="moon"></span>
</a>
</div>
<div class="nav-link" id="hamburger-menu-toggle">
- <span id="hamburger-menu-toggle-screen-reader-target" class="sr-only">menu</span>
+ <span class="sr-only hamburger-menu-toggle-screen-reader-target">menu</span>
<a>
<span data-feather="menu"></span>
</a>
@@ -55,9 +55,9 @@
</li>
{{ end }}
<li class="nav-item dark-theme-toggle">
- <span id="dark-theme-toggle-screen-reader-target" class="sr-only">theme</span>
+ <span class="sr-only dark-theme-toggle-screen-reader-target">theme</span>
<a>
- <span id="theme-toggle-icon" data-feather="moon"></span>
+ <span class="theme-toggle-icon" data-feather="moon"></span>
</a>
</li>
</ul>