diff --git a/_includes/skippy.html b/_includes/skippy.html new file mode 100644 index 0000000000000000000000000000000000000000..2c73089bc37bc50a54a2413ed1887d770de7205c --- /dev/null +++ b/_includes/skippy.html @@ -0,0 +1,5 @@ +<a id="skippy" class="sr-only sr-only-focusable" href="#content"> + <div class="container"> + <span class="skiplink-text">Skip to main content</span> + </div> +</a> diff --git a/_layouts/default.html b/_layouts/default.html index e6e576fa4a1bef860620a124cfb57828407380c2..59f5c122b8dfbe68d3843803253ccc262ccaff6b 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -4,11 +4,7 @@ {% include header.html %} </head> <body> - <a id="skippy" class="sr-only sr-only-focusable" href="#content"> - <div class="container"> - <span class="skiplink-text">Skip to main content</span> - </div> - </a> + {% include skippy.html %} {% include docs-navbar.html %} diff --git a/_layouts/docs.html b/_layouts/docs.html index f876055d72d2ee8353278c750268e78a90eb0b78..1d2125508e4cd8e72ae4574c0aa1cc1febf320c3 100644 --- a/_layouts/docs.html +++ b/_layouts/docs.html @@ -4,11 +4,7 @@ {% include header.html %} </head> <body> - <a id="skippy" class="sr-only sr-only-focusable" href="#content"> - <div class="container"> - <span class="skiplink-text">Skip to main content</span> - </div> - </a> + {% include skippy.html %} {% include docs-navbar.html %} diff --git a/_layouts/home.html b/_layouts/home.html index a406ba2e6a2c54135da2a6810e05d466f29080f7..88a23d49ce96009f83af53494887ce174e10ce66 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -4,11 +4,7 @@ {% include header.html %} </head> <body> - <a id="skippy" class="sr-only sr-only-focusable" href="#content"> - <div class="container"> - <span class="skiplink-text">Skip to main content</span> - </div> - </a> + {% include skippy.html %} {% include docs-navbar.html %}