From f140d645c58cae53b1b2f0918c5af61cfaa49cb2 Mon Sep 17 00:00:00 2001 From: Adam Menczykowski <ADAMmenczykowski@gmail.com> Date: Wed, 25 Sep 2024 09:27:44 +0100 Subject: [PATCH] Fix pagination whereby it never shows --- resources/views/products/index.antlers.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/products/index.antlers.html b/resources/views/products/index.antlers.html index 08b26b1..83284b3 100644 --- a/resources/views/products/index.antlers.html +++ b/resources/views/products/index.antlers.html @@ -105,8 +105,8 @@ <h2 class="text-xl text-gray-900 text-center font-semibold flex items-center jus {{ /products }} </div> - {{ if prev_page || next_page }} - {{ paginate }} + {{ paginate }} + {{ if prev_page || next_page }} <div class="mt-16 mb-6 border-t mx-auto py-8"> <div class="flex items-center justify-between"> <div> @@ -134,8 +134,8 @@ <h2 class="text-xl text-gray-900 text-center font-semibold flex items-center jus </div> </div> </div> - {{ /paginate }} - {{ /if }} + {{ /if }} + {{ /paginate }} </div> </main> {{ /collection:products }}