From 562f9b6eae72e3f952a2ce1e74249bcd44e69272 Mon Sep 17 00:00:00 2001 From: "Kim \"BKC\" Carlbäcker" Date: Mon, 7 Nov 2016 11:44:49 +0100 Subject: Merge all pagination-templates into 'base/paginate' to reduce code-duplicity --- templates/base/paginate.tmpl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 templates/base/paginate.tmpl (limited to 'templates/base/paginate.tmpl') diff --git a/templates/base/paginate.tmpl b/templates/base/paginate.tmpl new file mode 100644 index 0000000000..afe34c632f --- /dev/null +++ b/templates/base/paginate.tmpl @@ -0,0 +1,23 @@ +{{with .Page}} + {{if gt .TotalPages 1}} +
+ +
+ {{end}} +{{end}} -- cgit v1.2.3