From 4dc429ce5d47ac9c7211107f98b2c04b688e8641 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 9 Oct 2021 17:40:49 -0500 Subject: [PATCH] Only include pagination div if there's pagination --- layouts/_default/list.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3701847..3477951 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -40,9 +40,11 @@ {{ end }} +{{ if gt .Paginator.TotalPages 1 }} +{{ end }} {{ end }}