Add reactions page

This commit is contained in:
localhost_frssoft 2022-10-19 17:33:43 +03:00
parent 927bd6127c
commit 81a52fe7c6
5 changed files with 31 additions and 0 deletions

View file

@ -136,6 +136,12 @@ type LikedByData struct {
NextLink string
}
//For Pleroma reactions
type ReactedByData struct {
*CommonData
Reactions []*mastodon.ReactionsPleroma
}
type RetweetedByData struct {
*CommonData
Users []*mastodon.Account

View file

@ -30,6 +30,7 @@ const (
AboutInstance = "aboutinstance.tmpl"
EmojiPage = "emoji.tmpl"
LikedByPage = "likedby.tmpl"
ReactedByPage = "reactionspage.tmpl"
RetweetedByPage = "retweetedby.tmpl"
SearchPage = "search.tmpl"
SettingsPage = "settings.tmpl"