Merge branch 'show-random-clients-on-homepage' into 'dev'
Show 6 random clients on homepage See merge request cotech/website!17
This commit is contained in:
commit
bf9a17a97a
@ -99,7 +99,8 @@ layout: home
|
|||||||
<h2>Clients</h2>
|
<h2>Clients</h2>
|
||||||
<p>Here are some of the amazing clients we have worked with so far</p>
|
<p>Here are some of the amazing clients we have worked with so far</p>
|
||||||
<div class="row small-up-2 medium-up-3 large-up-6">
|
<div class="row small-up-2 medium-up-3 large-up-6">
|
||||||
{% for client in site.clients %}
|
{% assign clients = site.clients | sample:6 %}
|
||||||
|
{% for client in clients %}
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="client-thumb" style="background-image: url(/images/clients/{{ client.slug }}.png)"></div>
|
<div class="client-thumb" style="background-image: url(/images/clients/{{ client.slug }}.png)"></div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user