From 4b560cc1197ad07252fbb9a080c06f2f361c2b0e Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 21 Apr 2020 18:49:30 -0400 Subject: [PATCH] Beautify HTML generated by pagination template Fixes #7199. --- .../embedded/templates/pagination.html | 72 ++++++++++--------- 1 file changed, 38 insertions(+), 34 deletions(-) diff --git a/tpl/tplimpl/embedded/templates/pagination.html b/tpl/tplimpl/embedded/templates/pagination.html index 896e655fe..7b60c5d05 100644 --- a/tpl/tplimpl/embedded/templates/pagination.html +++ b/tpl/tplimpl/embedded/templates/pagination.html @@ -1,40 +1,44 @@ {{ $pag := $.Paginator }} -{{ if gt $pag.TotalPages 1 }} +{{ if gt $pag.TotalPages 1 -}} {{ end }}