diff --git a/_config.yml b/_config.yml index c0dc545d290d28469049b56a45374056c2650e8b..61325623394724ae6c21e92ca36635a88c6e1f31 100644 --- a/_config.yml +++ b/_config.yml @@ -14,3 +14,15 @@ port: 9001 repo: https://github.com/twbs/bootstrap download: https://github.com/twbs/bootstrap/archive/v3.0.0-rc1.zip download_dist: https://github.com/twbs/bootstrap/archive/v3.0.0-rc1-dist.zip + +examples: http://examples.getbootstrap.com +examples_repo: https://github.com/twbs/bootstrap-examples + +glyphicons: http://glyphicons.getbootstrap.com +glyphicons_repo: https://github.com/twbs/bootstrap-glyphicons + +blog: http://blog.getbootstrap.com +expo: http://expo.getbootstrap.com + +cdn_css: //netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css +cdn_js: //netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/js/bootstrap.min.js diff --git a/_layouts/customize.html b/_layouts/customize.html index 26ff67362a5868ef3a0f6a7d78a3fdea3f4bf674..5fd92549eed6e24bd30fdd2a16add7c4f6c89d02 100644 --- a/_layouts/customize.html +++ b/_layouts/customize.html @@ -26,7 +26,7 @@ <div class="bs-customize-placeholder"> <div class="container bs-docs-container"> - <p class="lead">Until RC2, the Bootstrap 3 customizer will be disabled. In the mean time, snag the <a href="https://github.com/twbs/bootstrap/releases">compiled CSS and JavaScript</a>. Hang tight!</p> + <p class="lead">Until RC2, the Bootstrap 3 customizer will be disabled. In the mean time, snag the <a href="{{ site.repo }}/releases">compiled CSS and JavaScript</a>. Hang tight!</p> </div> </div> @@ -38,7 +38,7 @@ <p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <ul class="footer-links"> - <li><a href="http://blog.getbootstrap.com">Blog</a></li> + <li><a href="{{ site.blog }}">Blog</a></li> <li class="muted">·</li> <li><a href="{{ site.repo }}/issues?state=open">Issues</a></li> <li class="muted">·</li> diff --git a/_layouts/default.html b/_layouts/default.html index 1d3d5b988110c744b7e9555ad5fdfa0a8bfa7d2d..ab5a8b5ea0f595e0f0539ef98d09a6dbafa41178 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -61,7 +61,7 @@ <p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p> <p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p> <ul class="footer-links"> - <li><a href="http://blog.getbootstrap.com">Blog</a></li> + <li><a href="{{ site.blog }}">Blog</a></li> <li class="muted">·</li> <li><a href="{{ site.repo }}/issues?state=open">Issues</a></li> <li class="muted">·</li> diff --git a/_layouts/home.html b/_layouts/home.html index e8084091f2ca7590fc8eb4bf2221caaf0f041665..5885337668c763284783072a6e85fee876d8fdd5 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -24,13 +24,13 @@ <a href="{{ site.repo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);">GitHub project</a> </li> <li> - <a href="http://examples.getbootstrap.com" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a> + <a href="{{ site.examples }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);">Examples</a> </li> <li> - <a href="http://glyphicons.getbootstrap.com" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a> + <a href="{{ site.glyphicons }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Glyphicons']);">Glyphicons</a> </li> <li> - <a href="http://expo.getbootstrap.com" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Bootstrap Expo</a> + <a href="{{ site.expo }}" onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Expo']);">Bootstrap Expo</a> </li> </ul> </div>