diff options
| author | lost+skunk <[email protected]> | 2024-11-15 22:43:27 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2024-11-15 22:43:27 +0300 |
| commit | 911923fde11ed1e0efbc56f851f9b50e5e48665d (patch) | |
| tree | d7b9b9b8738aee1843a647285bbc5877044c071a /app/util.go | |
| parent | 191984b31ef228c4077904a2831a2af593352670 (diff) | |
| download | skunky-art-911923fde11ed1e0efbc56f851f9b50e5e48665d.tar.gz skunky-art-911923fde11ed1e0efbc56f851f9b50e5e48665d.tar.bz2 skunky-art-911923fde11ed1e0efbc56f851f9b50e5e48665d.zip | |
ы
Diffstat (limited to 'app/util.go')
| -rw-r--r-- | app/util.go | 3 |
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 { |
