mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Move homepage examples to data file
This commit is contained in:
parent
9421f0af82
commit
745bec59cf
19
docs/_data/showcase.yml
Normal file
19
docs/_data/showcase.yml
Normal file
@ -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
|
@ -56,26 +56,13 @@ title: Bootstrap
|
|||||||
<hr class="half-rule">
|
<hr class="half-rule">
|
||||||
|
|
||||||
<div class="row bs-featured-sites">
|
<div class="row bs-featured-sites">
|
||||||
|
{% for showcase in site.data.showcase %}
|
||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<a href="http://expo.getbootstrap.com/" class="bs-featurette-img">
|
<a href="{{ showcase.expo_url }}" target="_blank" title="{{ showcase.name }}">
|
||||||
<img src="http://expo.getbootstrap.com/screenshots/coinbase.jpg" alt="" class="img-responsive">
|
<img src="{{ showcase.img }}" alt="{{ showcase.name }}" 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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="half-rule">
|
<hr class="half-rule">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user