]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
mo links, fix ads and analytics in gh pages
authorMark Otto <otto@github.com>
Sat, 27 Jul 2013 07:35:26 +0000 (00:35 -0700)
committerMark Otto <otto@github.com>
Sat, 27 Jul 2013 07:35:26 +0000 (00:35 -0700)
_includes/footer.html
_includes/header.html
_includes/old-bs-docs.html
_layouts/customize.html
_layouts/default.html
customize.html
getting-started.html

index 2e880f0482ee8b90178fd15886385d3d9043b82e..47a671b26f26b601322583c992ea4bb09bb021b7 100644 (file)
@@ -9,20 +9,18 @@
 
 <script src="{{ page.base_url }}assets/js/application.js"></script>
 
-{% unless site.port != "9001" %}
-  <!-- Analytics
-  ================================================== -->
-  <script>
-    var _gauges = _gauges || [];
-    (function() {
-      var t   = document.createElement('script');
-      t.type  = 'text/javascript';
-      t.async = true;
-      t.id    = 'gauges-tracker';
-      t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');
-      t.src = '//secure.gaug.es/track.js';
-      var s = document.getElementsByTagName('script')[0];
-      s.parentNode.insertBefore(t, s);
-    })();
-  </script>
-{% endunless %}
+<!-- Analytics
+================================================== -->
+<script>
+  var _gauges = _gauges || [];
+  (function() {
+    var t   = document.createElement('script');
+    t.type  = 'text/javascript';
+    t.async = true;
+    t.id    = 'gauges-tracker';
+    t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');
+    t.src = '//secure.gaug.es/track.js';
+    var s = document.getElementsByTagName('script')[0];
+    s.parentNode.insertBefore(t, s);
+  })();
+</script>
index 81de5f7ebd6a1f578f82753620b0d7b4a0126582..0a418d4823244b6d1a1bfb344a660c9d2873b16c 100644 (file)
                 <link rel="apple-touch-icon-precomposed" href="{{ page.base_url }}assets/ico/apple-touch-icon-57-precomposed.png">
                                <link rel="shortcut icon" href="{{ page.base_url }}assets/ico/favicon.png">
 
-{% unless site.port != "9001" %}
-  <script type="text/javascript">
-    var _gaq = _gaq || [];
-    _gaq.push(['_setAccount', 'UA-146052-10']);
-    _gaq.push(['_trackPageview']);
-    (function() {
-      var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-      ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-      var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-    })();
-  </script>
-{% endunless %}
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-146052-10']);
+  _gaq.push(['_trackPageview']);
+  (function() {
+    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+  })();
+</script>
index 370b2fc09d8a76bf9947785d10557f3a353ba7de..53635043f5c6adaf487c972ce97936b16f08713f 100644 (file)
@@ -1,7 +1,7 @@
 <div class="bs-old-docs">
   <div class="container">
     <strong>
-      <a href="/2.3.2/">Looking for Bootstrap 2.3.2 docs?</a>
+      <a href="{{ page.base_url }}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</a> for details.
   </div>
index 0d1c6d2e8a2517421ae2ea70946ed6a1baf5588c..28275c3e16fb48994349dd91f562859d53128156 100644 (file)
@@ -15,9 +15,7 @@
       <div class="container">
         <h1>{{ page.title }}</h1>
         <p>{{ page.lead }}</p>
-        {% unless site.port != "9001" %}
-          {% include ads.html %}
-        {% endunless %}
+        {% include ads.html %}
       </div>
     </div>
 
index 24cb30a00c5ba6a17dfb1cb516997c5de658b8b3..556c0fe1d65c4c5406d4a82b879f1eb351438617 100644 (file)
@@ -15,9 +15,7 @@
       <div class="container">
         <h1>{{ page.title }}</h1>
         <p>{{ page.lead }}</p>
-        {% unless site.port != "9001" %}
-          {% include ads.html %}
-        {% endunless %}
+        {% include ads.html %}
       </div>
     </div>
 
index 1a4adaf3dd53d0a69ee39cd19838dbd8aaf410e7..e90c116a1a857430d29cf762db1c80df83e426e7 100644 (file)
@@ -14,7 +14,7 @@ base_url: "../"
       <button class="btn btn-default toggle" type="button">Toggle all</button>
       <h1 id="less">LESS files</h1>
     </div>
-    <p class="lead">Choose which LESS files to compile into your custom build of Bootstrap. Not sure which files to use? Read through the <a href="../css/">CSS</a> and <a href="/components/">Components</a> pages in the docs</p>
+    <p class="lead">Choose which LESS files to compile into your custom build of Bootstrap. Not sure which files to use? Read through the <a href="../css/">CSS</a> and <a href="../components/">Components</a> pages in the docs</p>
 
     <h3>Basics</h3>
     <div class="row">
index ba9ad7be574c0cf50bf7acc1e2516e54d0980a87..48ebd134c7391b2225a70ef96fd4c8e400b9720c 100644 (file)
@@ -272,7 +272,7 @@ bootstrap/
     </div>
 
     <h3>Removing potential bloat</h3>
-    <p>Not all sites and applications need to make use of everything Bootstrap has to offer, especially in production environments where bandwidth literally becomes a financial issue. We encourage folks to remove whatever is unused with our <a href="/customize/">Customizer</a>.</p>
+    <p>Not all sites and applications need to make use of everything Bootstrap has to offer, especially in production environments where bandwidth literally becomes a financial issue. We encourage folks to remove whatever is unused with our <a href="../customize/">Customizer</a>.</p>
     <p>Using the Customizer, simply uncheck any component, feature, or asset you don't need. Hit download and swap out the default Bootstrap files with these newly customized ones. You'll get vanilla Bootstrap, but without the features *you* deem unnecessary. All custom builds include compiled and minified versions, so use whichever works for you.</p>
 
   </div>