
</section>

<section
  x-data="{
        selected : [],
        choose() {
            console.log('choosing...');
            const testimonialsToShow = 6;
            this.selected =
                Array
                    .from({ length: {{ site.testimonials.size }} }, (_, i) => i)
                    .sort(_ => Math.random() - 0.5)
                    .slice(0,testimonialsToShow);
        }
    }"
  x-init="
        choose();
    "
  class="home-section p-6 py-12"
>
  <div
    class="columns-1 sm:col