From 024e320e5c3cf1adce8404f87e7c0c746461b6e8 Mon Sep 17 00:00:00 2001
From: Mark Otto <otto@github.com>
Date: Thu, 15 Aug 2013 17:39:37 -0700
Subject: [PATCH] hella examples fixing, mostly navbars and lots of work on
 grids example

---
 _includes/nav-getting-started.html       |  3 +
 examples/carousel/index.html             | 28 ++++----
 examples/grid/grid.css                   | 13 +++-
 examples/grid/index.html                 | 90 ++++++++++++++----------
 examples/jumbotron-narrow/index.html     |  2 +-
 examples/jumbotron/index.html            | 26 +++----
 examples/justified-nav/index.html        |  2 +-
 examples/navbar-fixed-top/index.html     | 26 +++----
 examples/navbar-static-top/index.html    | 26 +++----
 examples/navbar/index.html               | 26 +++----
 examples/offcanvas/index.html            | 34 ++++-----
 examples/offcanvas/offcanvas.css         | 12 ++--
 examples/signin/index.html               |  2 +-
 examples/signin/signin.css               |  6 +-
 examples/starter-template/index.html     | 22 +++---
 examples/sticky-footer-navbar/index.html | 22 +++---
 examples/sticky-footer/index.html        |  2 +-
 getting-started.html                     | 87 ++++++++++++++++++++++-
 18 files changed, 276 insertions(+), 153 deletions(-)

diff --git a/_includes/nav-getting-started.html b/_includes/nav-getting-started.html
index f0e6af7ac4..fca38bde36 100644
--- a/_includes/nav-getting-started.html
+++ b/_includes/nav-getting-started.html
@@ -11,6 +11,9 @@
 <li>
   <a href="#template">Basic template</a>
 </li>
+<li>
+  <a href="#examples">Examples</a>
+</li>
 <li>
   <a href="#disable-responsive">Disabling responsiveness</a>
 </li>
diff --git a/examples/carousel/index.html b/examples/carousel/index.html
index efb4bcf3cf..8f3ac988ac 100644
--- a/examples/carousel/index.html
+++ b/examples/carousel/index.html
@@ -9,8 +9,8 @@
     <title>Carousel Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
-    <link href="../bootstrap/css/bootstrap-glyphicons.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap-glyphicons.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="carousel.css" rel="stylesheet">
@@ -23,13 +23,15 @@
 
         <div class="navbar navbar-inverse navbar-static-top">
           <div class="container">
-    	    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
-    	      <span class="icon-bar"></span>
-    	      <span class="icon-bar"></span>
-    	      <span class="icon-bar"></span>
-    	    </button>
-            <a class="navbar-brand" href="#">Project name</a>
-            <div class="nav-collapse collapse">
+            <div class="navbar-header">
+              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+                <span class="icon-bar"></span>
+              </button>
+              <a class="navbar-brand" href="#">Project name</a>
+            </div>
+            <div class="navbar-collapse collapse">
               <ul class="nav navbar-nav">
                 <li class="active"><a href="#">Home</a></li>
                 <li><a href="#about">About</a></li>
@@ -41,7 +43,7 @@
                     <li><a href="#">Another action</a></li>
                     <li><a href="#">Something else here</a></li>
                     <li class="divider"></li>
-                    <li class="nav-header">Nav header</li>
+                    <li class="dropdown-header">Nav header</li>
                     <li><a href="#">Separated link</a></li>
                     <li><a href="#">One more separated link</a></li>
                   </ul>
@@ -175,8 +177,8 @@
     <!-- Bootstrap core JavaScript
     ================================================== -->
     <!-- Placed at the end of the document so the pages load faster -->
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
-    <script src="../assets/js/holder.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/holder.js"></script>
   </body>
 </html>
diff --git a/examples/grid/grid.css b/examples/grid/grid.css
index c213ac6a73..963b128e30 100644
--- a/examples/grid/grid.css
+++ b/examples/grid/grid.css
@@ -13,9 +13,16 @@ h4 {
   margin-top: 10px;
   margin-bottom: 0;
 }
-[class*="col-lg-"] {
+[class*="col-"] {
   padding-top: 15px;
   padding-bottom: 15px;
-  background-color: rgba(185,74,72,.15);
-  border: 1px solid rgba(185,74,72,.2);
+  background-color: #eee;
+  border: 1px solid #ddd;
+  background-color: rgba(86,61,124,.15);
+  border: 1px solid rgba(86,61,124,.2);
 }
+
+hr {
+  margin-top: 40px;
+  margin-bottom: 40px;
+}
\ No newline at end of file
diff --git a/examples/grid/index.html b/examples/grid/index.html
index bd86f4ab96..4525f7e499 100644
--- a/examples/grid/index.html
+++ b/examples/grid/index.html
@@ -9,7 +9,7 @@
     <title>Grid Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="grid.css" rel="stylesheet">
@@ -18,72 +18,88 @@
   <body>
     <div class="container">
 
-      <h2>Bootstrap grids</h2>
-      <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
+      <div class="page-header">
+        <h1>Bootstrap grid examples</h1>
+        <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
+      </div>
 
-      <h4>Three equal columns</h4>
+      <h3>Three equal columns</h3>
+      <p>Get three equal-width columns <strong>starting at desktops and scaling to large desktops</strong>. On mobile devices, tablets and below, the columns will automatically stack.</p>
       <div class="row">
-        <div class="col-lg-4">.col-lg-4</div>
-        <div class="col-lg-4">.col-lg-4</div>
-        <div class="col-lg-4">.col-lg-4</div>
+        <div class="col-md-4">.col-md-4</div>
+        <div class="col-md-4">.col-md-4</div>
+        <div class="col-md-4">.col-md-4</div>
       </div>
 
-      <h4>Three unequal columns</h4>
+      <h3>Three unequal columns</h3>
+      <p>Get three columns <strong>starting at desktops and scaling to large desktops</strong> of various widths. Remember, grid columns should add up to twelve for a single horizontal block. More than that, and columns start stacking no matter the viewport.</p>
       <div class="row">
-        <div class="col-lg-3">.col-lg-3</div>
-        <div class="col-lg-6">.col-lg-6</div>
-        <div class="col-lg-3">.col-lg-3</div>
+        <div class="col-md-3">.col-md-3</div>
+        <div class="col-md-6">.col-md-6</div>
+        <div class="col-md-3">.col-md-3</div>
       </div>
 
-      <h4>Two columns</h4>
+      <h3>Two columns</h3>
+      <p>Get two columns <strong>starting at desktops and scaling to large desktops</strong>.</p>
       <div class="row">
-        <div class="col-lg-8">.col-lg-8</div>
-        <div class="col-lg-4">.col-lg-4</div>
+        <div class="col-md-8">.col-md-8</div>
+        <div class="col-md-4">.col-md-4</div>
       </div>
 
-      <h4>Full width, single column</h4>
+      <h3>Full width, single column</h3>
       <p class="text-warning">No grid classes are necessary for full-width elements.</p>
 
-      <h4>Two columns with two nested columns</h4>
+      <hr>
+
+      <h3>Two columns with two nested columns</h3>
+      <p>Per the documentation, nesting is easy—just put a row of columns within an existing row. This gives you two columns <strong>starting at desktops and scaling to large desktops</strong>, with another two (equal widths) within the larger column.</p>
+      <p>At mobile device sizes, tablets and down, these columns and their nested columns will stack.</p>
       <div class="row">
-        <div class="col-lg-8">
-          .col-lg-8
+        <div class="col-md-8">
+          .col-md-8
           <div class="row">
-            <div class="col-lg-6">.col-lg-6</div>
-            <div class="col-lg-6">.col-lg-6</div>
+            <div class="col-md-6">.col-md-6</div>
+            <div class="col-md-6">.col-md-6</div>
           </div>
         </div>
-        <div class="col-lg-4">.col-lg-4</div>
+        <div class="col-md-4">.col-md-4</div>
       </div>
 
-      <h4>Mixed: mobile and desktop</h4>
+      <hr>
+
+      <h3>Mixed: mobile and desktop</h3>
+      <p>The Bootstrap 3 grid system has four tiers of classes: xs (phones), sm (tablets), md (desktops), and lg (larger desktops). You can use nearly any combination of these classes to create more dynamic and flexible layouts.</p>
+      <p>Each tier of classes scales up, meaning if you plan on setting the same widths for xs and sm, you only need to specify xs.</p>
       <div class="row">
-        <div class="col-12 col-lg-8">.col-12 .col-lg-8</div>
-        <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
+        <div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div>
+        <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
       </div>
       <div class="row">
-        <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
-        <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
-        <div class="col-6 col-lg-4">.col-6 .col-lg-4</div>
+        <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
+        <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
+        <div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
       </div>
       <div class="row">
-        <div class="col-6 col-lg-6">.col-6 .col-lg-6</div>
-        <div class="col-6 col-lg-6">.col-6 .col-lg-6</div>
+        <div class="col-xs-6 col-md-6">.col-xs-6 .col-md-6</div>
+        <div class="col-xs-6 col-md-6">.col-xs-6 .col-md-6</div>
       </div>
 
-      <h4>Mixed: mobile, tablet, and desktop</h4>
+      <hr>
+
+      <h3>Mixed: mobile, tablet, and desktop</h3>
+      <p></p>
       <div class="row">
-        <div class="col-12 col-sm-8 col-lg-8">.col-12 .col-lg-8</div>
-        <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
+        <div class="col-xs-12 col-sm-8 col-lg-8">.col-xs-12 .col-lg-8</div>
+        <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-lg-4</div>
       </div>
       <div class="row">
-        <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
-        <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
-        <div class="col-6 col-sm-4 col-lg-4">.col-6 .col-lg-4</div>
+        <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-sm-4 .col-lg-4</div>
+        <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-sm-4 .col-lg-4</div>
+        <div class="col-xs-6 col-sm-4 col-lg-4">.col-xs-6 .col-sm-4 .col-lg-4</div>
       </div>
       <div class="row">
-        <div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div>
-        <div class="col-6 col-sm-6 col-lg-6">.col-6 .col-lg-6</div>
+        <div class="col-xs-6 col-sm-6 col-lg-6">.col-xs-6 .col-sm-6 .col-lg-6</div>
+        <div class="col-xs-6 col-sm-6 col-lg-6">.col-xs-6 .col-sm-6 .col-lg-6</div>
       </div>
 
     </div> <!-- /container -->
diff --git a/examples/jumbotron-narrow/index.html b/examples/jumbotron-narrow/index.html
index a34fbb92fa..1d09fa852b 100644
--- a/examples/jumbotron-narrow/index.html
+++ b/examples/jumbotron-narrow/index.html
@@ -9,7 +9,7 @@
     <title>Narrow Jumbotron Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="jumbotron-narrow.css" rel="stylesheet">
diff --git a/examples/jumbotron/index.html b/examples/jumbotron/index.html
index 09bb122771..b5a5a11ece 100644
--- a/examples/jumbotron/index.html
+++ b/examples/jumbotron/index.html
@@ -9,7 +9,7 @@
     <title>Jumbotron Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="jumbotron.css" rel="stylesheet">
@@ -19,13 +19,15 @@
 
     <div class="navbar navbar-inverse navbar-fixed-top">
       <div class="container">
-        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-        </button>
-        <a class="navbar-brand" href="#">Project name</a>
-        <div class="nav-collapse collapse">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </button>
+          <a class="navbar-brand" href="#">Project name</a>
+        </div>
+        <div class="navbar-collapse collapse">
           <ul class="nav navbar-nav">
             <li class="active"><a href="#">Home</a></li>
             <li><a href="#about">About</a></li>
@@ -43,12 +45,12 @@
               </ul>
             </li>
           </ul>
-          <form class="navbar-form form-inline pull-right">
+          <form class="navbar-form navbar-right">
             <input type="text" placeholder="Email" class="form-control">
             <input type="password" placeholder="Password" class="form-control">
             <button type="submit" class="btn">Sign in</button>
           </form>
-        </div><!--/.nav-collapse -->
+        </div><!--/.navbar-collapse -->
       </div>
     </div>
 
@@ -91,7 +93,7 @@
 
     </div> <!-- /container -->
 
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
   </body>
 </html>
\ No newline at end of file
diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html
index f5fbc5851a..de9ce387e2 100644
--- a/examples/justified-nav/index.html
+++ b/examples/justified-nav/index.html
@@ -9,7 +9,7 @@
     <title>Justified Nav Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="justified-nav.css" rel="stylesheet">
diff --git a/examples/navbar-fixed-top/index.html b/examples/navbar-fixed-top/index.html
index 5a0e596af7..9bc75b5f22 100644
--- a/examples/navbar-fixed-top/index.html
+++ b/examples/navbar-fixed-top/index.html
@@ -9,7 +9,7 @@
     <title>Fixed Top Navbar Example for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="navbar-fixed-top.css" rel="stylesheet">
@@ -20,13 +20,15 @@
     <!-- Fixed navbar -->
     <div class="navbar navbar-fixed-top">
       <div class="container">
-        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-        </button>
-        <a class="navbar-brand" href="#">Project name</a>
-        <div class="nav-collapse collapse">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </button>
+          <a class="navbar-brand" href="#">Project name</a>
+        </div>
+        <div class="navbar-collapse collapse">
           <ul class="nav navbar-nav">
             <li class="active"><a href="#">Home</a></li>
             <li><a href="#about">About</a></li>
@@ -38,13 +40,13 @@
                 <li><a href="#">Another action</a></li>
                 <li><a href="#">Something else here</a></li>
                 <li class="divider"></li>
-                <li class="dropdown-header">Dropdown header</li>
+                <li class="dropdown-header">Nav header</li>
                 <li><a href="#">Separated link</a></li>
                 <li><a href="#">One more separated link</a></li>
               </ul>
             </li>
           </ul>
-          <ul class="nav navbar-nav pull-right">
+          <ul class="nav navbar-nav navbar-right">
             <li><a href="http://examples.getbootstrap.com/navbar/index.html">Default</a></li>
             <li><a href="http://examples.getbootstrap.com/navbar-static-top/index.html">Static top</a></li>
             <li class="active"><a href="http://examples.getbootstrap.com/navbar-fixed-top/index.html">Fixed top</a></li>
@@ -69,7 +71,7 @@
     <!-- Bootstrap core JavaScript
     ================================================== -->
     <!-- Placed at the end of the document so the pages load faster -->
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
   </body>
 </html>
diff --git a/examples/navbar-static-top/index.html b/examples/navbar-static-top/index.html
index 25e9dcec40..1a49c82295 100644
--- a/examples/navbar-static-top/index.html
+++ b/examples/navbar-static-top/index.html
@@ -9,7 +9,7 @@
     <title>Static Top Navbar Example for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="navbar-static-top.css" rel="stylesheet">
@@ -20,13 +20,15 @@
     <!-- Static navbar -->
     <div class="navbar navbar-static-top">
       <div class="container">
-        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-        </button>
-        <a class="navbar-brand" href="#">Project name</a>
-        <div class="nav-collapse collapse">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </button>
+          <a class="navbar-brand" href="#">Project name</a>
+        </div>
+        <div class="navbar-collapse collapse">
           <ul class="nav navbar-nav">
             <li class="active"><a href="#">Home</a></li>
             <li><a href="#about">About</a></li>
@@ -38,13 +40,13 @@
                 <li><a href="#">Another action</a></li>
                 <li><a href="#">Something else here</a></li>
                 <li class="divider"></li>
-                <li class="dropdown-header">Dropdown header</li>
+                <li class="dropdown-header">Nav header</li>
                 <li><a href="#">Separated link</a></li>
                 <li><a href="#">One more separated link</a></li>
               </ul>
             </li>
           </ul>
-          <ul class="nav navbar-nav pull-right">
+          <ul class="nav navbar-nav navbar-right">
             <li><a href="http://examples.getbootstrap.com/navbar/index.html">Default</a></li>
             <li class="active"><a href="http://examples.getbootstrap.com/navbar-static-top/index.html">Static top</a></li>
             <li><a href="http://examples.getbootstrap.com/navbar-fixed-top/index.html">Fixed top</a></li>
@@ -70,7 +72,7 @@
     <!-- Bootstrap core JavaScript
     ================================================== -->
     <!-- Placed at the end of the document so the pages load faster -->
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
   </body>
 </html>
diff --git a/examples/navbar/index.html b/examples/navbar/index.html
index 689a0e35c5..e89c831133 100644
--- a/examples/navbar/index.html
+++ b/examples/navbar/index.html
@@ -9,7 +9,7 @@
     <title>Navbar Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="navbar.css" rel="stylesheet">
@@ -22,13 +22,15 @@
       <!-- Static navbar -->
       <div class="navbar">
         <div class="container">
-          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
-            <span class="icon-bar"></span>
-            <span class="icon-bar"></span>
-            <span class="icon-bar"></span>
-          </button>
-          <a class="navbar-brand" href="#">Project name</a>
-          <div class="nav-collapse collapse">
+          <div class="navbar-header">
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+            </button>
+            <a class="navbar-brand" href="#">Project name</a>
+          </div>
+          <div class="navbar-collapse collapse">
             <ul class="nav navbar-nav">
               <li class="active"><a href="#">Home</a></li>
               <li><a href="#about">About</a></li>
@@ -40,13 +42,13 @@
                   <li><a href="#">Another action</a></li>
                   <li><a href="#">Something else here</a></li>
                   <li class="divider"></li>
-                  <li class="dropdown-header">Dropdown header</li>
+                  <li class="dropdown-header">Nav header</li>
                   <li><a href="#">Separated link</a></li>
                   <li><a href="#">One more separated link</a></li>
                 </ul>
               </li>
             </ul>
-            <ul class="nav navbar-nav pull-right">
+            <ul class="nav navbar-nav navbar-right">
               <li class="active"><a href="http://examples.getbootstrap.com/navbar/index.html">Default</a></li>
               <li><a href="http://examples.getbootstrap.com/navbar-static-top/index.html">Static top</a></li>
               <li><a href="http://examples.getbootstrap.com/navbar-fixed-top/index.html">Fixed top</a></li>
@@ -69,7 +71,7 @@
     <!-- Bootstrap core JavaScript
     ================================================== -->
     <!-- Placed at the end of the document so the pages load faster -->
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
   </body>
 </html>
diff --git a/examples/offcanvas/index.html b/examples/offcanvas/index.html
index 1092f2c1a3..e6c186462c 100644
--- a/examples/offcanvas/index.html
+++ b/examples/offcanvas/index.html
@@ -9,7 +9,7 @@
     <title>Off Canvas Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="offcanvas.css" rel="stylesheet">
@@ -18,16 +18,15 @@
   <body>
     <div class="navbar navbar-fixed-top navbar-inverse" role="navigation">
       <div class="container">
-
-        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-        </button>
-
-        <a class="navbar-brand" href="#">Project name</a>
-
-        <div class="nav-collapse collapse navbar-responsive-collapse">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </button>
+          <a class="navbar-brand" href="#">Project name</a>
+        </div>
+        <div class="collapse navbar-collapse">
           <ul class="nav navbar-nav">
             <li class="active"><a href="#">Home</a></li>
             <li><a href="#about">About</a></li>
@@ -40,8 +39,8 @@
     <div class="container">
 
       <div class="row row-offcanvas row-offcanvas-right">
-        <div class="col-12 col-sm-9 col-lg-9">
-          <p class="pull-right visible-sm">
+        <div class="col-xs-12 col-sm-9">
+          <p class="pull-right visible-xs">
             <button type="button" class="btn btn-primary btn-xs" data-toggle="offcanvas">Toggle nav</button>
           </p>
           <div class="jumbotron">
@@ -81,7 +80,8 @@
             </div><!--/span-->
           </div><!--/row-->
         </div><!--/span-->
-        <nav class="col-3 col-sm-3 col-lg-3 sidebar-offcanvas" id="sidebar" role="navigation">
+
+        <div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
           <div class="well sidebar-nav">
             <ul class="nav">
               <li>Sidebar</li>
@@ -97,7 +97,7 @@
               <li><a href="#">Link</a></li>
             </ul>
           </div><!--/.well -->
-        </nav><!--/span-->
+        </div><!--/span-->
       </div><!--/row-->
 
       <hr>
@@ -109,8 +109,8 @@
     </div><!--/.container-->
 
     <!-- jQuery and plugin -->
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
     <script src="offcanvas.js"></script>
   </body>
 </html>
\ No newline at end of file
diff --git a/examples/offcanvas/offcanvas.css b/examples/offcanvas/offcanvas.css
index 27a075d76e..e83e71824a 100644
--- a/examples/offcanvas/offcanvas.css
+++ b/examples/offcanvas/offcanvas.css
@@ -17,7 +17,7 @@ footer {
 @media screen and (max-width: 768px) {
   .row-offcanvas {
     position: relative;
-    overflow: hidden // Needed for Internet Explorer
+    overflow: hidden; /* Needed for Internet Explorer */
     -webkit-transition: all 0.25s ease-out;
     -moz-transition: all 0.25s ease-out;
     transition: all 0.25s ease-out;
@@ -25,24 +25,24 @@ footer {
 
   .row-offcanvas-right
   .sidebar-offcanvas {
-    right: -58.333333333333336%; // 6 columns
+    right: -58.333333333333336%; /* 6 columns */
   }
 
   .row-offcanvas-left
   .sidebar-offcanvas {
-    left: -58.333333333333336%; // 6 columns
+    left: -58.333333333333336%; /* 6 columns */
   }
 
   .row-offcanvas-right.active {
-    right: 58.333333333333336%; // 6 columns
+    right: 58.333333333333336%; /* 6 columns */
   }
 
   .row-offcanvas-left.active {
-    left: 58.333333333333336%; // 6 columns
+    left: 58.333333333333336%; /* 6 columns */
   }
 
   .sidebar-offcanvas {
     position: absolute;
-    width: 58.333333333333336%; // 6 columns
+    width: 58.333333333333336%; /* 6 columns */
   }
 }
\ No newline at end of file
diff --git a/examples/signin/index.html b/examples/signin/index.html
index 0b5d9bd950..9521fb437b 100644
--- a/examples/signin/index.html
+++ b/examples/signin/index.html
@@ -9,7 +9,7 @@
     <title>Signin Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="signin.css" rel="stylesheet">
diff --git a/examples/signin/signin.css b/examples/signin/signin.css
index a68420fadf..a6bf9b1594 100644
--- a/examples/signin/signin.css
+++ b/examples/signin/signin.css
@@ -16,8 +16,7 @@ body {
 .form-signin .checkbox {
   font-weight: normal;
 }
-.form-signin input[type="text"],
-.form-signin input[type="password"] {
+.form-signin .form-control {
   position: relative;
   font-size: 16px;
   height: auto;
@@ -26,8 +25,7 @@ body {
      -moz-box-sizing: border-box;
           box-sizing: border-box;
 }
-.form-signin input[type="text"]:focus,
-.form-signin input[type="password"]:focus {
+.form-signin .form-control:focus {
   z-index: 2;
 }
 .form-signin input[type="text"] {
diff --git a/examples/starter-template/index.html b/examples/starter-template/index.html
index 08a2772084..008125d14b 100644
--- a/examples/starter-template/index.html
+++ b/examples/starter-template/index.html
@@ -9,7 +9,7 @@
     <title>Starter Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="starter-template.css" rel="stylesheet">
@@ -19,13 +19,15 @@
 
     <div class="navbar navbar-inverse navbar-fixed-top">
       <div class="container">
-        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-          <span class="icon-bar"></span>
-        </button>
-        <a class="navbar-brand" href="#">Project name</a>
-        <div class="nav-collapse collapse">
+        <div class="navbar-header">
+          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+            <span class="icon-bar"></span>
+          </button>
+          <a class="navbar-brand" href="#">Project name</a>
+        </div>
+        <div class="collapse navbar-collapse">
           <ul class="nav navbar-nav">
             <li class="active"><a href="#">Home</a></li>
             <li><a href="#about">About</a></li>
@@ -44,7 +46,7 @@
 
     </div><!-- /.container -->
 
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
   </body>
 </html>
\ No newline at end of file
diff --git a/examples/sticky-footer-navbar/index.html b/examples/sticky-footer-navbar/index.html
index d5e033f58e..a5182eeafa 100644
--- a/examples/sticky-footer-navbar/index.html
+++ b/examples/sticky-footer-navbar/index.html
@@ -9,7 +9,7 @@
     <title>Sticky Footer Navbar Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="sticky-footer-navbar.css" rel="stylesheet">
@@ -23,13 +23,15 @@
       <!-- Fixed navbar -->
       <div class="navbar navbar-fixed-top">
         <div class="container">
-          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
-            <span class="icon-bar"></span>
-            <span class="icon-bar"></span>
-            <span class="icon-bar"></span>
-          </button>
-          <a class="navbar-brand" href="#">Project name</a>
-          <div class="nav-collapse collapse">
+          <div class="navbar-header">
+            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+              <span class="icon-bar"></span>
+            </button>
+            <a class="navbar-brand" href="#">Project name</a>
+          </div>
+          <div class="collapse navbar-collapse">
             <ul class="nav navbar-nav">
               <li class="active"><a href="#">Home</a></li>
               <li><a href="#about">About</a></li>
@@ -69,7 +71,7 @@
 
     <!-- Bootstrap core JavaScript
     ================================================== -->
-    <script src="../assets/js/jquery.js"></script>
-    <script src="../bootstrap/js/bootstrap.min.js"></script>
+    <script src="../../assets/js/jquery.js"></script>
+    <script src="../../dist/js/bootstrap.min.js"></script>
   </body>
 </html>
\ No newline at end of file
diff --git a/examples/sticky-footer/index.html b/examples/sticky-footer/index.html
index 13476cd118..8505d76375 100644
--- a/examples/sticky-footer/index.html
+++ b/examples/sticky-footer/index.html
@@ -9,7 +9,7 @@
     <title>Sticky Footer Template for Bootstrap</title>
 
     <!-- Bootstrap core CSS -->
-    <link href="../bootstrap/css/bootstrap.css" rel="stylesheet">
+    <link href="../../dist/css/bootstrap.css" rel="stylesheet">
 
     <!-- Custom styles for this template -->
     <link href="sticky-footer.css" rel="stylesheet">
diff --git a/getting-started.html b/getting-started.html
index fdb703dd96..ec99133691 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -93,7 +93,7 @@ bootstrap/
     <div class="page-header">
       <h1 id="template">Basic template</h1>
     </div>
-    <p class="lead">Make use of a super basic HTML template, or dive into a <a href="{{ site.examples }}">few examples</a> we've started for you. We encourage folks to iterate on these examples and not simply use them as an end result.</p>
+    <p class="lead">Make use of a super basic HTML template, or dive into a <a href="../getting-started#examples">few examples</a> we've started for you. We encourage folks to iterate on these examples and not simply use them as an end result.</p>
 
     <p>Copy and paste the HTML from below to get started with a bare bones Bootstrap document.</p>
 {% highlight html %}
@@ -125,6 +125,91 @@ bootstrap/
 
 
 
+  <!-- Template
+  ================================================== -->
+  <div class="bs-docs-section">
+    <div class="page-header">
+      <h1 id="examples">Examples</h1>
+    </div>
+    <p class="lead">Build on the basic template above with Bootstrap's many components. Check out some of the more advanced tips for how to customize and build on top of them.</p>
+
+    <div class="row">
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/carousel/">
+          Carousel
+        </a>
+      </div>
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/grid/">
+          Grids
+        </a>
+      </div>
+      <div class="clearfix visible-xs"></div>
+
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/jumbotron/">
+          Jumbotron
+        </a>
+      </div>
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/jumbotron-narrow/">
+          Narrow jumbotron
+        </a>
+      </div>
+      <div class="clearfix visible-xs"></div>
+
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/navbar/">
+          Navbar
+        </a>
+      </div>
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/navbar-static-top/">
+          Static navbar
+        </a>
+      </div>
+      <div class="clearfix visible-xs"></div>
+
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/navbar-fixed-top/">
+          Fixed navbar
+        </a>
+      </div>
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/offcanvas/">
+          Offcanvas
+        </a>
+      </div>
+      <div class="clearfix visible-xs"></div>
+
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/signin/">
+          Sign-in page
+        </a>
+      </div>
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/sticky-footer/">
+          Sticky footer
+        </a>
+      </div>
+      <div class="clearfix visible-xs"></div>
+
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/sticky-footer-navbar/">
+          Sticky footer with navbar
+        </a>
+      </div>
+      <div class="col-xs-6 col-md-4">
+        <a href="../examples/starter-template/">
+          Starter template
+        </a>
+      </div>
+    </div>
+
+  </div>
+
+
+
   <!-- Template
   ================================================== -->
   <div class="bs-docs-section">
-- 
GitLab