aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-01-05 23:36:57 -0800
committerMark Otto <[email protected]>2014-01-05 23:37:14 -0800
commit745bec59cf049a8571890c1cd5d926a3540aa36d (patch)
treee24c84ac1dabeaecba0f88430097b79aa6b8d153 /docs
parent9421f0af82bd80ad13815d180d95459f67d5fec1 (diff)
downloadbootstrap-745bec59cf049a8571890c1cd5d926a3540aa36d.tar.xz
bootstrap-745bec59cf049a8571890c1cd5d926a3540aa36d.zip
Move homepage examples to data file
Diffstat (limited to 'docs')
-rw-r--r--docs/_data/showcase.yml19
-rw-r--r--docs/index.html21
2 files changed, 23 insertions, 17 deletions
diff --git a/docs/_data/showcase.yml b/docs/_data/showcase.yml
new file mode 100644
index 000000000..0c593fcc5
--- /dev/null
+++ b/docs/_data/showcase.yml
@@ -0,0 +1,19 @@
+- name: Coinbase
+ url: https://coinbase.com/
+ expo_url: http://expo.getbootstrap.com/2013/08/06/coinbase/
+ img: http://expo.getbootstrap.com/screenshots/coinbase.jpg
+
+- name: Localcrime
+ url: http://www.localcrimeapp.com/
+ expo_url: http://expo.getbootstrap.com/2013/08/08/localcrime/
+ img: http://expo.getbootstrap.com/screenshots/localcrime.jpg
+
+- name: Sentry
+ url: https://www.getsentry.com/
+ expo_url: http://expo.getbootstrap.com/2013/05/09/sentry/
+ img: http://expo.getbootstrap.com/screenshots/sentry.jpg
+
+- name: Fortrabbit
+ url: http://fortrabbit.com/
+ expo_url: http://expo.getbootstrap.com/2013/08/05/fortrabbit/
+ img: http://expo.getbootstrap.com/screenshots/fortrabbit.jpg
diff --git a/docs/index.html b/docs/index.html
index 50ee78e98..55a591b5b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -56,26 +56,13 @@ title: Bootstrap
<hr class="half-rule">
<div class="row bs-featured-sites">
+ {% for showcase in site.data.showcase %}
<div class="col-sm-3">
- <a href="http://expo.getbootstrap.com/" class="bs-featurette-img">
- <img src="http://expo.getbootstrap.com/screenshots/coinbase.jpg" alt="" class="img-responsive">
- </a>
- </div>
- <div class="col-sm-3">
- <a href="http://expo.getbootstrap.com/" class="bs-featurette-img">
- <img src="http://expo.getbootstrap.com/screenshots/localcrime.jpg" alt="" class="img-responsive">
- </a>
- </div>
- <div class="col-sm-3">
- <a href="http://expo.getbootstrap.com/" class="bs-featurette-img">
- <img src="http://expo.getbootstrap.com/screenshots/fortrabbit.jpg" alt="" class="img-responsive">
- </a>
- </div>
- <div class="col-sm-3">
- <a href="http://expo.getbootstrap.com/" class="bs-featurette-img">
- <img src="http://expo.getbootstrap.com/screenshots/sentry.jpg" alt="" class="img-responsive">
+ <a href="{{ showcase.expo_url }}" target="_blank" title="{{ showcase.name }}">
+ <img src="{{ showcase.img }}" alt="{{ showcase.name }}" class="img-responsive">
</a>
</div>
+ {% endfor %}
</div>
<hr class="half-rule">