From 790ca38644b8c37c9feb7c433143a6b49b4f137e Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Wed, 18 Jan 2023 02:41:10 -0700 Subject: added pagination and results per page --- templates/results.gtpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/results.gtpl') diff --git a/templates/results.gtpl b/templates/results.gtpl index 151a7d3..ce2b99d 100644 --- a/templates/results.gtpl +++ b/templates/results.gtpl @@ -28,9 +28,11 @@ {{ end }} + {{if .ShowPrev }} +

Previous Page

+ {{ end }} {{ if .MoreResults }} -

Previous Page

-

Next Page

+

Next Page

{{ end }} \ No newline at end of file -- cgit v1.2.3