Skip to content

Commit

Permalink
docs skippy partial (#25750)
Browse files Browse the repository at this point in the history
* load skippy markup from includes
  • Loading branch information
m5o authored and XhmikosR committed Mar 1, 2018
1 parent 29f178d commit 34bc00d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
5 changes: 5 additions & 0 deletions _includes/skippy.html
Original file line number Diff line number Diff line change
@@ -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>
6 changes: 1 addition & 5 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down
6 changes: 1 addition & 5 deletions _layouts/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down
6 changes: 1 addition & 5 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand Down

0 comments on commit 34bc00d

Please sign in to comment.