From 6d12b8767538539e937671143b9389c22a3819f6 Mon Sep 17 00:00:00 2001 From: Chris Lowis Date: Thu, 29 Nov 2018 17:22:09 +0000 Subject: [PATCH] Show 6 random clients on homepage Showing all of the client logos adds a considerable amount to the page weight of the page. This change shows 6 random clients. It will be re-generated each time the page is deployed, which might be OK for now, although we could add timed pipeline to keep this fresh/fair. --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 42d8af6..8801be1 100644 --- a/index.html +++ b/index.html @@ -99,7 +99,8 @@ layout: home

Clients

Here are some of the amazing clients we have worked with so far

- {% for client in site.clients %} + {% assign clients = site.clients | sample:6 %} + {% for client in clients %}