]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs skippy partial (#25750)
authorm5o <m5o@gmx.com>
Thu, 1 Mar 2018 23:44:40 +0000 (00:44 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 1 Mar 2018 23:44:40 +0000 (01:44 +0200)
* load skippy markup from includes

_includes/skippy.html [new file with mode: 0644]
_layouts/default.html
_layouts/docs.html
_layouts/home.html

diff --git a/_includes/skippy.html b/_includes/skippy.html
new file mode 100644 (file)
index 0000000..2c73089
--- /dev/null
@@ -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>
index e6e576fa4a1bef860620a124cfb57828407380c2..59f5c122b8dfbe68d3843803253ccc262ccaff6b 100644 (file)
@@ -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 %}
 
index f876055d72d2ee8353278c750268e78a90eb0b78..1d2125508e4cd8e72ae4574c0aa1cc1febf320c3 100644 (file)
@@ -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 %}
 
index a406ba2e6a2c54135da2a6810e05d466f29080f7..88a23d49ce96009f83af53494887ce174e10ce66 100644 (file)
@@ -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 %}