5
0
mirror of https://git.coop/cotech/website.git synced 2024-11-24 23:53:07 +00:00

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:
Nick Sellen 2018-11-29 18:12:21 +00:00
commit bf9a17a97a

View File

@ -99,7 +99,8 @@ layout: home
<h2>Clients</h2>
<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">
{% for client in site.clients %}
{% assign clients = site.clients | sample:6 %}
{% for client in clients %}
<div class="column">
<div class="client-thumb" style="background-image: url(/images/clients/{{ client.slug }}.png)"></div>
</div>