]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
move skippy and v4 notice to partials
authorMark Otto <markdotto@gmail.com>
Sun, 2 Jul 2017 22:38:07 +0000 (15:38 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 2 Jul 2017 22:38:07 +0000 (15:38 -0700)
docs/_includes/skippy.html [new file with mode: 0644]
docs/_includes/v4.html [new file with mode: 0644]
docs/_layouts/default.html
docs/_layouts/home.html

diff --git a/docs/_includes/skippy.html b/docs/_includes/skippy.html
new file mode 100644 (file)
index 0000000..65be98a
--- /dev/null
@@ -0,0 +1 @@
+<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/docs/_includes/v4.html b/docs/_includes/v4.html
new file mode 100644 (file)
index 0000000..9171930
--- /dev/null
@@ -0,0 +1 @@
+<a href="http://getbootstrap.com/" class="v4-tease">Looking for Bootstrap 4?</a>
index 670f538f2d5c46b427ba097480fab976b267891c..dd2b850db47b00ba9308e271646af0f35cdb6c0a 100644 (file)
@@ -1,17 +1,14 @@
 <!DOCTYPE html>
 <html lang="en">
   <head>
-    <!-- Meta, title, CSS, favicons, etc. -->
     {% 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>
-    <a href="http://blog.getbootstrap.com/2016/07/27/bootstrap-4-alpha-3/" class="v4-tease">Aww yeah, Bootstrap 4 is coming!</a>
+    {% include skippy.html %}
+    {% include v4.html %}
 
-    <!-- Docs master nav -->
     {% include nav/main.html %}
 
-    <!-- Docs page layout -->
     <div class="bs-docs-header" id="content" tabindex="-1">
       <div class="container">
         <h1>{{ page.title }}</h1>
index 8ec943e25438511e98f3809e72e844dbd80b0920..011b53365018cb9110f094cb6861200498490592 100644 (file)
@@ -1,17 +1,14 @@
 <!DOCTYPE html>
 <html lang="en">
   <head>
-    <!-- Meta, title, CSS, favicons, etc. -->
     {% include header.html %}
   </head>
   <body class="bs-docs-home">
-    <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>
-    <a href="http://blog.getbootstrap.com/2016/07/27/bootstrap-4-alpha-3/" class="v4-tease">Aww yeah, Bootstrap 4 is coming!</a>
+    {% include skippy.html %}
+    {% include v4.html %}
 
-    <!-- Docs master nav -->
     {% include nav/main.html %}
 
-    <!-- Page content of course! -->
     {{ content }}
 
     {% include footer.html %}