From: Joe Mooring Date: Tue, 21 Apr 2020 22:49:30 +0000 (-0400) Subject: Beautify HTML generated by pagination template X-Git-Tag: v0.73.0~18 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4b560cc11;p=brevno-suite%2Fhugo Beautify HTML generated by pagination template Fixes #7199. --- 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 }}