summaryrefslogtreecommitdiff
path: root/app/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/util.go')
-rw-r--r--app/util.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/util.go b/app/util.go
index 9c8d400..6ece2e8 100644
--- a/app/util.go
+++ b/app/util.go
@@ -63,6 +63,7 @@ type instanceAbout struct {
type skunkyart struct {
Writer http.ResponseWriter
+ _pth string
Args url.Values
Page int
@@ -274,7 +275,7 @@ func (s skunkyart) NavBase(c DeviationList) string {
prevrev := func(msg string, page int, onpage bool) {
if !onpage {
list.WriteString(`<a href="`)
- list.WriteString(Path)
+ list.WriteString(s._pth)
list.WriteString(`?p=`)
list.WriteString(strconv.Itoa(page))
if s.Type != 0 {