From c29fde8a7e061a93496d71cddef19643b45c8aa3 Mon Sep 17 00:00:00 2001 From: breadcat Date: Sun, 16 Aug 2020 12:41:08 +0100 Subject: Help with --minify Not sure why pagination insists on preserving whitespace, but don't feel like diagnosing. This fixes it --- themes/Brine/layouts/partials/pagination.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'themes/Brine/layouts/partials') diff --git a/themes/Brine/layouts/partials/pagination.html b/themes/Brine/layouts/partials/pagination.html index 6109d45..027836b 100644 --- a/themes/Brine/layouts/partials/pagination.html +++ b/themes/Brine/layouts/partials/pagination.html @@ -1,5 +1 @@ -{{ with $.Paginator }}{{ if gt .TotalPages 1 }} <p class="pagination"> - {{ with .Prev }}<a href="{{ .URL }}">Previous</a> - {{ end }}{{ range .Pagers }}<a{{ if eq .PageNumber $.Paginator.PageNumber }} class="active"{{ end }} href="{{ .URL }}">{{ .PageNumber }}</a> - {{ end }}{{ with .Next }}<a href="{{ .URL }}">Next</a>{{ end }} - </p>{{ end }}{{ end }} \ No newline at end of file +{{ with $.Paginator }}{{ if gt .TotalPages 1 }}<p class="pagination">{{ with .Prev }}<a href="{{ .URL }}">Previous</a>{{ end }}{{ range .Pagers }}<a{{ if eq .PageNumber $.Paginator.PageNumber }} class="active"{{ end }} href="{{ .URL }}">{{ .PageNumber }}</a>{{ end }}{{ with .Next }}<a href="{{ .URL }}">Next</a>{{ end }}</p>{{ end }}{{ end }} \ No newline at end of file -- cgit v1.2.3