From 17bb3b3688912b4a1ef9e918895eb53488f85bea Mon Sep 17 00:00:00 2001 From: breadcat Date: Fri, 19 Jun 2020 15:45:16 +0100 Subject: Base theme commit Thats' enough for today --- themes/Brine/layouts/partials/pagination.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 themes/Brine/layouts/partials/pagination.html (limited to 'themes/Brine/layouts/partials') diff --git a/themes/Brine/layouts/partials/pagination.html b/themes/Brine/layouts/partials/pagination.html new file mode 100644 index 0000000..7ed3bce --- /dev/null +++ b/themes/Brine/layouts/partials/pagination.html @@ -0,0 +1,6 @@ +{{ with $.Paginator }}{{ if gt .TotalPages 1 }} +
+ {{ with .Prev }}Previous + {{ end }}{{ range .Pagers }}{{ .PageNumber }} + {{ end }}{{ with .Next }}Next{{ end }} +
{{ end }}{{ end }} \ No newline at end of file -- cgit v1.2.3