aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm5o <[email protected]>2018-03-02 00:44:40 +0100
committerXhmikosR <[email protected]>2018-03-02 01:44:40 +0200
commit34bc00ddbe4d2ffb130f6718150a7759f01a272b (patch)
tree724692024555c97a90e2d15cc5d10a6149339cf1
parent29f178d89129732d35ae812667709c64cdb28a6f (diff)
downloadbootstrap-34bc00ddbe4d2ffb130f6718150a7759f01a272b.tar.xz
bootstrap-34bc00ddbe4d2ffb130f6718150a7759f01a272b.zip
docs skippy partial (#25750)
* load skippy markup from includes
-rw-r--r--_includes/skippy.html5
-rw-r--r--_layouts/default.html6
-rw-r--r--_layouts/docs.html6
-rw-r--r--_layouts/home.html6
4 files changed, 8 insertions, 15 deletions
diff --git a/_includes/skippy.html b/_includes/skippy.html
new file mode 100644
index 000000000..2c73089bc
--- /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 e6e576fa4..59f5c122b 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 f876055d7..1d2125508 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 a406ba2e6..88a23d49c 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 %}