aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
author2kool4idkwhat <120322313+2kool4idkwhat@users.noreply.github.com>2023-07-12 14:17:10 +0200
committer2kool4idkwhat <120322313+2kool4idkwhat@users.noreply.github.com>2023-07-12 14:48:00 +0200
commitafebeba99d57247abee53a6857f586ed964edee4 (patch)
tree6c787b95efb1aae35cc9caff5fd3793dd37716b5 /layouts/partials
parentf26d122b2ad0cd3e3299de776b69e69d31486895 (diff)
downloadhugo-bearcub-afebeba99d57247abee53a6857f586ed964edee4.tar.gz
hugo-bearcub-afebeba99d57247abee53a6857f586ed964edee4.tar.bz2
a11y: add skipnav link
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index fccb41f..1db41b2 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,2 +1,4 @@
+<a class="skiplink" href="#maincontent">Skip to Main Content</a>
+
<a href="{{ relURL .Site.Home.Permalink }}" class="title"><h1>{{ .Site.Title }}</h1></a>
<nav>{{- partial "nav.html" . -}}</nav>