diff options
author | breadcat | 2020-08-16 12:41:08 +0100 |
---|---|---|
committer | breadcat | 2020-08-16 12:41:08 +0100 |
commit | c29fde8a7e061a93496d71cddef19643b45c8aa3 (patch) | |
tree | 924b81cbda8648eb40f79fa8e262b02b2e618dfc /themes/Brine/layouts/partials | |
parent | a294a7de510a91edd4a02eafc3457d28e94941a7 (diff) | |
download | blog.minskio.co.uk-c29fde8a7e061a93496d71cddef19643b45c8aa3.tar.gz blog.minskio.co.uk-c29fde8a7e061a93496d71cddef19643b45c8aa3.tar.bz2 blog.minskio.co.uk-c29fde8a7e061a93496d71cddef19643b45c8aa3.zip |
Help with --minify
Not sure why pagination insists on preserving whitespace, but don't feel
like diagnosing. This fixes it
Diffstat (limited to 'themes/Brine/layouts/partials')
-rw-r--r-- | themes/Brine/layouts/partials/pagination.html | 6 |
1 files changed, 1 insertions, 5 deletions
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 |