aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-26 19:24:59 -0700
committerMark Otto <[email protected]>2013-07-26 19:24:59 -0700
commit259ff8b6a49a76231c46d922bdfdf114f1e8f8ea (patch)
tree901f454066cdddd01692e516ab44f710bc88575f
parent305455a9b323f0dd43477055dae28b0d063c0880 (diff)
downloadbootstrap-259ff8b6a49a76231c46d922bdfdf114f1e8f8ea.tar.xz
bootstrap-259ff8b6a49a76231c46d922bdfdf114f1e8f8ea.zip
More vars work
-rw-r--r--_config.yml12
-rw-r--r--_layouts/customize.html4
-rw-r--r--_layouts/default.html2
-rw-r--r--_layouts/home.html6
4 files changed, 18 insertions, 6 deletions
diff --git a/_config.yml b/_config.yml
index c0dc545d2..613256233 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 26ff67362..5fd92549e 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">&middot;</li>
<li><a href="{{ site.repo }}/issues?state=open">Issues</a></li>
<li class="muted">&middot;</li>
diff --git a/_layouts/default.html b/_layouts/default.html
index 1d3d5b988..ab5a8b5ea 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">&middot;</li>
<li><a href="{{ site.repo }}/issues?state=open">Issues</a></li>
<li class="muted">&middot;</li>
diff --git a/_layouts/home.html b/_layouts/home.html
index e8084091f..588533766 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>