From 61f01750ff2f7a27bcd0281a7b6d01a5841f75c8 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Sat, 31 Aug 2024 00:47:19 +0100 Subject: [PATCH] There will be no bias in my house! --- resources/views/bookmarks.blade.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/views/bookmarks.blade.php b/resources/views/bookmarks.blade.php index c8d0e11..f75e9b4 100644 --- a/resources/views/bookmarks.blade.php +++ b/resources/views/bookmarks.blade.php @@ -3,9 +3,19 @@ @foreach($categories as $category)

{{ $category->name }}

+ @if($category->id == 1) +

(These are shuffled every load)

+ @php + $sites = $category->sites->shuffle(); + @endphp + @else + @php + $sites = $category->sites; + @endphp + @endif