summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/partials
diff options
context:
space:
mode:
authorbreadcat2020-06-28 00:34:31 +0100
committerbreadcat2020-06-28 00:34:31 +0100
commitad505d88ad0c586ca6b1eff2a0c7873c544c5fe1 (patch)
tree5e8e89ca36f7abfa4c456c589ba0293929e34e64 /themes/Brine/layouts/partials
parentdd555cfd61ffe7a68fb4d82ed605baaf52ebcfc8 (diff)
downloadblog.minskio.co.uk-ad505d88ad0c586ca6b1eff2a0c7873c544c5fe1.tar.gz
blog.minskio.co.uk-ad505d88ad0c586ca6b1eff2a0c7873c544c5fe1.tar.bz2
blog.minskio.co.uk-ad505d88ad0c586ca6b1eff2a0c7873c544c5fe1.zip
Tidy up produced HTML
Indentation, unecessary CSS declarations, line breaks, everything must go!
Diffstat (limited to 'themes/Brine/layouts/partials')
-rw-r--r--themes/Brine/layouts/partials/pagination.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/themes/Brine/layouts/partials/pagination.html b/themes/Brine/layouts/partials/pagination.html
index 7ed3bce..1dc3648 100644
--- a/themes/Brine/layouts/partials/pagination.html
+++ b/themes/Brine/layouts/partials/pagination.html
@@ -1,6 +1,5 @@
-{{ with $.Paginator }}{{ if gt .TotalPages 1 }}
- <p class="pagination">
- {{ with .Prev }}<a class="page-link" href="{{ .URL }}">Previous</a></li>
- {{ end }}{{ range .Pagers }}<a class="page-link{{ if eq .PageNumber $.Paginator.PageNumber }} a{{ end }}" href="{{ .URL }}">{{ .PageNumber }}</a>
- {{ end }}{{ with .Next }}<a class="page-link" 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 class="page-link" href="{{ .URL }}">Previous</a></li>
+ {{ end }}{{ range .Pagers }}<a class="page-link{{ if eq .PageNumber $.Paginator.PageNumber }} a{{ end }}" href="{{ .URL }}">{{ .PageNumber }}</a>
+ {{ end }}{{ with .Next }}<a class="page-link" href="{{ .URL }}">Next</a>{{ end }}
+ </p>{{ end }}{{ end }} \ No newline at end of file