]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
single include for old ads callout
authorMark Otto <otto@github.com>
Fri, 26 Jul 2013 03:56:44 +0000 (20:56 -0700)
committerMark Otto <otto@github.com>
Fri, 26 Jul 2013 03:56:44 +0000 (20:56 -0700)
_includes/nav-main.html
_includes/old-bs-docs.html [new file with mode: 0644]
_layouts/default.html
_layouts/home.html
index.html

index 40244d3a240d86b83bcac0ff0ce3551f7ce9ef4e..fceeb7a869bd96173777aa76b6f0dbb4ecd6049b 100644 (file)
           <a href="/customize">Customize</a>
         </li>
       </ul>
-      {% if page.layout == "default" %}
-      <ul class="nav navbar-nav pull-right">
-        <li>
-          <a href="http://getbootstrap.com/2.3.2/">Looking for Bootstrap 2.3.2?</a>
-        </li>
-      </ul>
-      {% endif %}
     </div>
   </div>
 </div>
diff --git a/_includes/old-bs-docs.html b/_includes/old-bs-docs.html
new file mode 100644 (file)
index 0000000..a33cad7
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="bs-old-docs">
+  <div class="container">
+    <strong>
+      <a href="/2.3.2/">Looking for Bootstrap 2.3.2 docs?</a>
+    </strong>
+    We've moved it to a new home while we push forward with Bootstrap 3. <a href="http://blog.getbootstrap.com/">Read the blog post</a> for details.
+  </div>
+</div>
index bf84836384dc7e6c3d340b1474b691e4efe5cfa6..19388fbf04a54986dd8135931180d1f71d068e5b 100644 (file)
@@ -10,6 +10,9 @@
     <!-- Docs master nav -->
     {% include nav-main.html %}
 
+    <!-- Callout for the old docs link -->
+    {% include old-bs-docs.html %}
+
     <!-- Docs page layout -->
     <div class="bs-header">
       <div class="container">
index 9230184dc7d47c673fc945a24eb1c655087c562f..d0272895780644fc001203539907bcf6b903cee6 100644 (file)
@@ -10,6 +10,9 @@
     <!-- Docs master nav -->
     {% include nav-main.html %}
 
+    <!-- Callout for the old docs link -->
+    {% include old-bs-docs.html %}
+
     <!-- Page content of course! -->
     {{ content }}
 
index 43a6db631e6ab348136f263207e5e0c22950beb3..cb85c09ad6d9ea0d7dda89331a1df4b7e5ff2ef6 100644 (file)
@@ -3,15 +3,6 @@ layout: home
 title: Bootstrap
 ---
 
-<div class="bs-old-docs">
-  <div class="container">
-    <strong>
-      <a href="/2.3.2/">Looking for Bootstrap 2.3.2 docs?</a>
-    </strong>
-    We've moved it to a new home while we push forward with Bootstrap 3. <a href="http://blog.getbootstrap.com/">Read the blog post</a> for details.
-  </div>
-</div>
-
 <div class="container">
   <div class="bs-masthead">