diff options
| author | lost+skunk <[email protected]> | 2024-07-13 23:55:28 +0300 |
|---|---|---|
| committer | lost+skunk <[email protected]> | 2024-07-13 23:55:28 +0300 |
| commit | e02174cb710e6d6abd642f03e64ce91bbac38130 (patch) | |
| tree | 691795941b1fda1e37df100b7b70c2134350e274 /app/wrapper.go | |
| parent | 4b3bf2c6a063f5702cb35626b595d11bd6630068 (diff) | |
| download | skunky-art-e02174cb710e6d6abd642f03e64ce91bbac38130.tar.gz skunky-art-e02174cb710e6d6abd642f03e64ce91bbac38130.tar.bz2 skunky-art-e02174cb710e6d6abd642f03e64ce91bbac38130.zip | |
Исправление некоторых обосрамсовv1.3
Diffstat (limited to 'app/wrapper.go')
| -rw-r--r-- | app/wrapper.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/wrapper.go b/app/wrapper.go index 165522e..ca39af7 100644 --- a/app/wrapper.go +++ b/app/wrapper.go @@ -216,7 +216,7 @@ func (s skunkyart) GRUser() { } if !s.Atom { - s.ExecuteTemplate("html/gruser.htm", &s) + s.ExecuteTemplate("gruser.htm", &s) } } @@ -261,7 +261,7 @@ func (s skunkyart) Deviation(author, postname string) { post.Comments = s.ParseComments(devianter.CommentsFunc(id, post.Post.Comments.Cursor, s.Page, 1)) - s.ExecuteTemplate("html/deviantion.htm", &s) + s.ExecuteTemplate("deviantion.htm", &s) } else { s.ReturnHTTPError(400) } @@ -274,7 +274,7 @@ func (s skunkyart) DD() { More: dd.HasMore, }) if !s.Atom { - s.ExecuteTemplate("html/list.htm", &s) + s.ExecuteTemplate("list.htm", &s) } } @@ -342,7 +342,7 @@ func (s skunkyart) Search() { }) } - s.ExecuteTemplate("html/search.htm", &s) + s.ExecuteTemplate("search.htm", &s) } func (s skunkyart) Emojitar(name string) { @@ -361,5 +361,5 @@ func (s skunkyart) About() { s.Templates.About.Nsfw = CFG.Nsfw s.Templates.About.Proxy = CFG.Proxy try(json.Unmarshal([]byte(Templates["instances.json"]), &s.Templates.About)) - s.ExecuteTemplate("html/about.htm", &s) + s.ExecuteTemplate("about.htm", &s) } |
