datamad2017/_includes/judges.html

27 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2014-08-27 23:49:51 +02:00
<!-- Judges Section -->
<section id="judges" class="judges image-section parallax" style="background-image: url({{ site.baseurl }}/img/sections-background/{{ site.judgesImage }});">
2014-08-27 23:49:51 +02:00
<div class="overlay solid-overlay"></div>
<div class="content-wrapper">
<div class="col-lg-10 col-lg-offset-1">
<h3>{{ site.judgesTitle }}</h3>
<div class="row">
2014-08-28 17:50:12 +02:00
{% assign animationDelay = 0 %} {% for judge in site.data.judges %}
2014-08-27 23:49:51 +02:00
{% assign colWidth = 12 | divided_by: forloop.length %}
2014-08-28 17:50:12 +02:00
<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>
2014-08-28 17:50:12 +02:00
<p class="name">{{ judge.name }} {{ judge.surname }}</p>
<span class="company">{{ judge.company }}</span>
<span class="title">{{ judge.title }}</span>
2014-08-27 23:49:51 +02:00
</div>
2014-08-28 17:50:12 +02:00
{% assign animationDelay = animationDelay | plus:500 %}
{% assign check = forloop.index | modulo:2 %}
{% if check == 0 %}
<div class="clearfix visible-xs"></div>
{% endif %}
2014-08-27 23:49:51 +02:00
{% endfor %}
</div>
</div>
</div>
</section>
<!-- End Judges Section -->