mirror of
https://codeberg.org/video-prize-ranch/rimgo.git
synced 2025-12-15 04:35:16 +00:00
added covers to user comment page
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package pages
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"codeberg.org/rimgo/rimgo/utils"
|
||||
@@ -96,6 +97,8 @@ func HandleUserComments(c *fiber.Ctx) error {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Println(comments[0].Post.Cover.Url) //FIXME:debug
|
||||
|
||||
return c.Render("userComments", fiber.Map{
|
||||
"user": user,
|
||||
"comments": comments,
|
||||
|
||||
Reference in New Issue
Block a user