cambio config para poner fotos y añado logos a images_datalab

This commit is contained in:
josemolinag 2017-10-08 17:25:36 +02:00
parent ee5acb54ff
commit b071ad3262
5 changed files with 6 additions and 12 deletions

View file

@ -5,7 +5,7 @@
<div class="col-lg-10 col-lg-offset-1">
<h3>{{ site.judgesTitle }}</h3>
<div class="row">
{% assign animationDelay = 0 %} {% for judge in site.data.judges %}
{% assign animationDelay = 0 %} {% for judge in site.data.judges %}
{% assign colWidth = 12 | divided_by: forloop.length %}
<div class="judge col-md-{{ colWidth }} col-xs-6 animated hiding" data-animation="fadeInDown" data-delay="{{ animationDelay }}">
<div class="flow-img img-circle judge-img" style="background-image: url({{ site.baseurl }}/img/people/{{ judge.thumbnailUrl }})"></div>
@ -13,11 +13,11 @@
<span class="company">{{ judge.company }}</span>
<span class="title">{{ judge.title }}</span>
</div>
{% assign animationDelay = animationDelay | plus:500 %}
{% assign check = forloop.index | modulo:2 %}
{% assign animationDelay = animationDelay | plus:500 %}
{% assign check = forloop.index | modulo:2 %}
{% if check == 0 %}
<div class="clearfix visible-xs"></div>
{% endif %}
{% endif %}
{% endfor %}
</div>
</div>