forked from raviriley/agency-jekyll-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclients.html
30 lines (30 loc) · 1.4 KB
/
clients.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!-- Clients -->
{% if site.locale and site.locale != "" and site.locale != nil %}
<section class="py-5" id="{{ site.data.sitetext[site.locale].clients.section | default: "clients" }}">
<div class="container">
<div class="row" {% if site.data.sitetext[site.locale].clients.horizontal-scrolling == "yes" %} id="scrolling-clients" {% endif %}>
{% for client in site.data.sitetext[site.locale].clients.list %}
<div class="col-md-3 col-sm-6">
<a href="{{ client.url }}">
<img class="img-fluid d-block mx-auto" src="{{ client.logo }}" alt="{{ client.title }}" style="max-height: {{ site.data.sitetext[site.locale].clients.max-height | default: "100px" }}">
</a>
</div>
{% endfor %}
</div>
</div>
</section>
{% else %}
<section class="py-5" id="{{ site.data.sitetext.clients.section | default: "clients" }}">
<div class="container">
<div class="row" {% if site.data.sitetext.clients.horizontal-scrolling == "yes" %} id="scrolling-clients" {% endif %}>
{% for client in site.data.sitetext.clients.list %}
<div class="col-md-3 col-sm-6">
<a href="{{ client.url }}">
<img class="img-fluid d-block mx-auto" src="{{ client.logo }}" alt="{{ client.title }}" style="max-height: {{ site.data.sitetext.clients.max-height | default: "100px" }}">
</a>
</div>
{% endfor %}
</div>
</div>
</section>
{% endif %}