aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-27 00:35:26 -0700
committerMark Otto <[email protected]>2013-07-27 00:35:26 -0700
commit80123fc0398b2354ff85ff45e065117a0ad56149 (patch)
tree73a37522f3431853de5fbc159a322c9d012eafb4
parent94df8090a7771b463c7661b7b0aeecac328b00f4 (diff)
downloadbootstrap-80123fc0398b2354ff85ff45e065117a0ad56149.tar.xz
bootstrap-80123fc0398b2354ff85ff45e065117a0ad56149.zip
mo links, fix ads and analytics in gh pages
-rw-r--r--_includes/footer.html32
-rw-r--r--_includes/header.html22
-rw-r--r--_includes/old-bs-docs.html2
-rw-r--r--_layouts/customize.html4
-rw-r--r--_layouts/default.html4
-rw-r--r--customize.html2
-rw-r--r--getting-started.html2
7 files changed, 30 insertions, 38 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 2e880f048..47a671b26 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -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>
diff --git a/_includes/header.html b/_includes/header.html
index 81de5f7eb..0a418d482 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -31,15 +31,13 @@
<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>
diff --git a/_includes/old-bs-docs.html b/_includes/old-bs-docs.html
index 370b2fc09..53635043f 100644
--- a/_includes/old-bs-docs.html
+++ b/_includes/old-bs-docs.html
@@ -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>
diff --git a/_layouts/customize.html b/_layouts/customize.html
index 0d1c6d2e8..28275c3e1 100644
--- a/_layouts/customize.html
+++ b/_layouts/customize.html
@@ -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>
diff --git a/_layouts/default.html b/_layouts/default.html
index 24cb30a00..556c0fe1d 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -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>
diff --git a/customize.html b/customize.html
index 1a4adaf3d..e90c116a1 100644
--- a/customize.html
+++ b/customize.html
@@ -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">
diff --git a/getting-started.html b/getting-started.html
index ba9ad7be5..48ebd134c 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -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>