1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

mo links, fix ads and analytics in gh pages

This commit is contained in:
Mark Otto 2013-07-27 00:35:26 -07:00
parent 94df8090a7
commit 80123fc039
7 changed files with 30 additions and 38 deletions

View file

@ -9,20 +9,18 @@
<script src="{{ page.base_url }}assets/js/application.js"></script> <script src="{{ page.base_url }}assets/js/application.js"></script>
{% unless site.port != "9001" %} <!-- Analytics
<!-- Analytics ================================================== -->
================================================== --> <script>
<script> var _gauges = _gauges || [];
var _gauges = _gauges || []; (function() {
(function() { var t = document.createElement('script');
var t = document.createElement('script'); t.type = 'text/javascript';
t.type = 'text/javascript'; t.async = true;
t.async = true; t.id = 'gauges-tracker';
t.id = 'gauges-tracker'; t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013');
t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013'); t.src = '//secure.gaug.es/track.js';
t.src = '//secure.gaug.es/track.js'; var s = document.getElementsByTagName('script')[0];
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(t, s);
s.parentNode.insertBefore(t, s); })();
})(); </script>
</script>
{% endunless %}

View file

@ -31,15 +31,13 @@
<link rel="apple-touch-icon-precomposed" href="{{ page.base_url }}assets/ico/apple-touch-icon-57-precomposed.png"> <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"> <link rel="shortcut icon" href="{{ page.base_url }}assets/ico/favicon.png">
{% unless site.port != "9001" %} <script type="text/javascript">
<script type="text/javascript"> var _gaq = _gaq || [];
var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-146052-10']);
_gaq.push(['_setAccount', 'UA-146052-10']); _gaq.push(['_trackPageview']);
_gaq.push(['_trackPageview']); (function() {
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
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';
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);
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();
})(); </script>
</script>
{% endunless %}

View file

@ -1,7 +1,7 @@
<div class="bs-old-docs"> <div class="bs-old-docs">
<div class="container"> <div class="container">
<strong> <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> </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. 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> </div>

View file

@ -15,9 +15,7 @@
<div class="container"> <div class="container">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
<p>{{ page.lead }}</p> <p>{{ page.lead }}</p>
{% unless site.port != "9001" %} {% include ads.html %}
{% include ads.html %}
{% endunless %}
</div> </div>
</div> </div>

View file

@ -15,9 +15,7 @@
<div class="container"> <div class="container">
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
<p>{{ page.lead }}</p> <p>{{ page.lead }}</p>
{% unless site.port != "9001" %} {% include ads.html %}
{% include ads.html %}
{% endunless %}
</div> </div>
</div> </div>

View file

@ -14,7 +14,7 @@ base_url: "../"
<button class="btn btn-default toggle" type="button">Toggle all</button> <button class="btn btn-default toggle" type="button">Toggle all</button>
<h1 id="less">LESS files</h1> <h1 id="less">LESS files</h1>
</div> </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> <h3>Basics</h3>
<div class="row"> <div class="row">

View file

@ -272,7 +272,7 @@ bootstrap/
</div> </div>
<h3>Removing potential bloat</h3> <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> <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> </div>