summaryrefslogtreecommitdiffstats
path: root/site/layouts/partials/skippy.html
diff options
context:
space:
mode:
Diffstat (limited to 'site/layouts/partials/skippy.html')
-rw-r--r--site/layouts/partials/skippy.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/site/layouts/partials/skippy.html b/site/layouts/partials/skippy.html
new file mode 100644
index 0000000..8da5c0a
--- /dev/null
+++ b/site/layouts/partials/skippy.html
@@ -0,0 +1,8 @@
+<div class="skippy visually-hidden-focusable overflow-hidden">
+ <div class="container-xl">
+ <a class="d-inline-flex p-2 m-1" href="#content">Skip to main content</a>
+ {{ if (eq .Page.Layout "docs") -}}
+ <a class="d-none d-md-inline-flex p-2 m-1" href="#bd-docs-nav">Skip to docs navigation</a>
+ {{- end }}
+ </div>
+</div>