Improve the search results view

This commit is contained in:
James Mills
2021-02-02 23:34:18 +10:00
parent 867b7b141d
commit 4c02ee5afc
5 changed files with 20 additions and 392 deletions

View File

@@ -3,6 +3,7 @@ package internal
import (
"html/template"
"net/http"
"time"
log "github.com/sirupsen/logrus"
"github.com/vcraescu/go-paginator"
@@ -52,8 +53,10 @@ type Context struct {
Title string
Meta Meta
Results Results
Pager *paginator.Paginator
Matches uint64
Duration time.Duration
Results Results
Pager *paginator.Paginator
// Report abuse
ReportURL string