diff options
| author | Mark Otto <[email protected]> | 2013-07-27 00:35:26 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-07-27 00:35:26 -0700 |
| commit | 80123fc0398b2354ff85ff45e065117a0ad56149 (patch) | |
| tree | 73a37522f3431853de5fbc159a322c9d012eafb4 /_includes | |
| parent | 94df8090a7771b463c7661b7b0aeecac328b00f4 (diff) | |
| download | bootstrap-80123fc0398b2354ff85ff45e065117a0ad56149.tar.xz bootstrap-80123fc0398b2354ff85ff45e065117a0ad56149.zip | |
mo links, fix ads and analytics in gh pages
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/footer.html | 32 | ||||
| -rw-r--r-- | _includes/header.html | 22 | ||||
| -rw-r--r-- | _includes/old-bs-docs.html | 2 |
3 files changed, 26 insertions, 30 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> |
